This documentation is archived and is not being maintained.

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)

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.

Show: