Share via


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.String

    An optional explanation for canceling the request.

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace