RestApiAsyncCodeActivity<T>.Cancel Method
This member overrides AsyncCodeActivity<TResult>.Cancel(AsyncCodeActivityContext).
Namespace: Microsoft.TeamFoundation.Deployment.Workflow.Activities
Assembly: Microsoft.TeamFoundation.Deployment.Workflow (in Microsoft.TeamFoundation.Deployment.Workflow.dll)
Syntax
'Declaration
Protected Overrides NotOverridable Sub Cancel ( _
context As AsyncCodeActivityContext _
)
protected override sealed void Cancel(
AsyncCodeActivityContext context
)
protected:
virtual void Cancel(
AsyncCodeActivityContext^ context
) override sealed
abstract Cancel :
context:AsyncCodeActivityContext -> unit
override Cancel :
context:AsyncCodeActivityContext -> unit
protected override final function Cancel(
context : AsyncCodeActivityContext
)
Parameters
- context
Type: System.Activities.AsyncCodeActivityContext
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RestApiAsyncCodeActivity<T> Class
Microsoft.TeamFoundation.Deployment.Workflow.Activities Namespace