TeamFoundationRequestContext.Cancel Method
Synchronously cancels a request.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub Cancel ( _
reason As String _
)
public virtual void Cancel(
string reason
)
public:
virtual void Cancel(
String^ reason
)
abstract Cancel :
reason:string -> unit
override Cancel :
reason:string -> unit
public function Cancel(
reason : String
)
Parameters
reason
Type: System.StringAn optional explanation for canceling the request.
.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.