ICommandHandler.InvokeAsync(InvocationContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs an action when the associated command is invoked on the command line.
public:
System::Threading::Tasks::Task<int> ^ InvokeAsync(System::CommandLine::Invocation::InvocationContext ^ context);
public System.Threading.Tasks.Task<int> InvokeAsync (System.CommandLine.Invocation.InvocationContext context);
abstract member InvokeAsync : System.CommandLine.Invocation.InvocationContext -> System.Threading.Tasks.Task<int>
Public Function InvokeAsync (context As InvocationContext) As Task(Of Integer)
Parameters
- context
- InvocationContext
Provides context for the invocation, including parse results and binding support.
Returns
A value that can be used as the exit code for the process.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.