共用方式為


ISharedResourceExtension.BeginRequestSharedResourceLock 方法

要求在共用資源上的鎖定。

命名空間:  Microsoft.TeamFoundation.Build.Workflow.Services
組件:  Microsoft.TeamFoundation.Build.Workflow (在 Microsoft.TeamFoundation.Build.Workflow.dll 中)

語法

'宣告
Function BeginRequestSharedResourceLock ( _
    resourceName As String, _
    bookmarkName As String, _
    buildUri As Uri, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
IAsyncResult BeginRequestSharedResourceLock(
    string resourceName,
    string bookmarkName,
    Uri buildUri,
    AsyncCallback callback,
    Object state
)

參數

傳回值

類型:System.IAsyncResult

.NET Framework 安全性

請參閱

參考

ISharedResourceExtension 介面

Microsoft.TeamFoundation.Build.Workflow.Services 命名空間