CancelRequest Method
Collapse the table of content
Expand the table of content

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)

void CancelRequest(
	Guid hostId,
	long requestId,
	string reason
)

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:
© 2016 Microsoft