Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Synchronously cancels a request.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overrides Sub Cancel ( _
    reason As String _
)
public override void Cancel(
    string reason
)
public:
virtual void Cancel(
    String^ reason
) override
abstract Cancel : 
        reason:string -> unit  
override Cancel : 
        reason:string -> unit
public override function Cancel(
    reason : String
)
Parameters
- reason 
 Type: System.String- An 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.