Compartilhar via


IAdministrationService.CancelRequest Method

Cancels the specified request if it is currently active.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaração
Sub CancelRequest ( _
    hostId As Guid, _
    requestId As Long, _
    reason As String _
)
void CancelRequest(
    Guid hostId,
    long requestId,
    string reason
)
void CancelRequest(
    Guid hostId, 
    long long requestId, 
    String^ reason
)
abstract CancelRequest : 
        hostId:Guid * 
        requestId:int64 * 
        reason:string -> unit 
function CancelRequest(
    hostId : Guid, 
    requestId : long, 
    reason : String
)

Parameters

  • hostId
    Type: System.Guid
    The host on which the request is active.
  • requestId
    Type: System.Int64
    The ID of the request to cancel.
  • reason
    Type: System.String
    An optional message that explains why the request is being canceled.

.NET Framework Security

See Also

Reference

IAdministrationService Interface

Microsoft.TeamFoundation.Framework.Client Namespace