executeCommandAsync
Method
interface ResourceCommandService { // ... omitted for brevity executeCommandAsync( resource: IResource, commandName: string, arguments?: Dict<string,string>, cancellationToken?: cancellationToken): ExecuteCommandResult;}Signature
method
executeCommandAsync Executes a command for the specified resource.
executeCommandAsync( resource: IResource, commandName: string, arguments?: Dict<string,string>, cancellationToken?: cancellationToken): ExecuteCommandResultParameters
resource IResource commandName string arguments Dict<string,string> optional cancellationToken cancellationToken optional Returns
ExecuteCommandResult Applies to
This method applies to the following types: