共用方式為


IAdministrationService.CancelRequest 方法

移除指定的要求它目前是否正在使用中。

命名空間:  Microsoft.TeamFoundation.Framework.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Sub CancelRequest ( _
    hostId As Guid, _
    requestId As Long, _
    reason As String _
)
void CancelRequest(
    Guid hostId,
    long requestId,
    string reason
)

參數

  • hostId
    型別:System.Guid
    要求處於作用中的主機。
  • reason
    型別:System.String
    說明的選擇性訊息要求為何取消。

.NET Framework 安全性

請參閱

參考

IAdministrationService 介面

Microsoft.TeamFoundation.Framework.Client 命名空間