public abstract Task<int> RunAsync()
Public MustOverride Function RunAsync As Task(Of Integer)
Dim instance As AsyncCommandBase
Dim returnValue As Task(Of Integer)
returnValue = instance.RunAsync()
public:
virtual Task<int>^ RunAsync() abstract
Typically, your application's Main() method should return the exit code of the command that was executed.
This method will only be invoked if you run commands with the CommandManagerRunCommandAsync method or one of its overloads. Typically, it's recommended to implement the ICommandRun method to invoke this method and wait for it. Use the AsyncCommandBase class for a default implementation that does this.