SynchronousCommandLineAction Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit un comportement synchrone associé à un symbole de ligne de commande.
public ref class SynchronousCommandLineAction abstract : System::CommandLine::Invocation::CommandLineAction
public abstract class SynchronousCommandLineAction : System.CommandLine.Invocation.CommandLineAction
type SynchronousCommandLineAction = class
inherit CommandLineAction
Public MustInherit Class SynchronousCommandLineAction
Inherits CommandLineAction
- Héritage
- Dérivé
Constructeurs
| Nom | Description |
|---|---|
| SynchronousCommandLineAction() |
Définit un comportement synchrone associé à un symbole de ligne de commande. |
Propriétés
| Nom | Description |
|---|---|
| ClearsParseErrors |
Indique que l’action efface toutes les erreurs d’analyse associées aux symboles autres que ceux qui possèdent le CommandLineAction. (Hérité de CommandLineAction) |
| Terminating |
Indique que l’action met fin à un appel de ligne de commande et que les actions ultérieures sont ignorées. (Hérité de CommandLineAction) |
Méthodes
| Nom | Description |
|---|---|
| Invoke(ParseResult) |
Effectue une action lorsque le symbole associé est appelé sur la ligne de commande. |