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
'Declaration
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.GuidThe host on which the request is active.
requestId
Type: System.Int64The ID of the request to cancel.
reason
Type: System.StringAn optional message that explains why the request is being canceled.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.