ISharedResourceExtension.RequestSharedResourceLock Method
Requests a lock on a shared resource.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Services
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
声明
Sub RequestSharedResourceLock ( _
resourceName As String, _
bookmarkName As String, _
buildUri As Uri _
)
void RequestSharedResourceLock(
string resourceName,
string bookmarkName,
Uri buildUri
)
void RequestSharedResourceLock(
String^ resourceName,
String^ bookmarkName,
Uri^ buildUri
)
abstract RequestSharedResourceLock :
resourceName:string *
bookmarkName:string *
buildUri:Uri -> unit
function RequestSharedResourceLock(
resourceName : String,
bookmarkName : String,
buildUri : Uri
)
Parameters
- resourceName
Type: System.String
The name of the resource.
- bookmarkName
Type: System.String
The name of the bookmark.
- buildUri
Type: System.Uri
The URI of the builds.
.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.