Partager via


SynchronousCommandLineAction Classe

Définition

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
SynchronousCommandLineAction
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.

S’applique à