Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.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
- 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.