Delen 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 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

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace