CannotLockException Constructor (TeamFoundationRequestContext, String, String, String, String)
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Sub New ( _
requestContext As TeamFoundationRequestContext, _
serverItem As String, _
lockedItem As String, _
lockedBy As String, _
lockedWorkspace As String _
)
public CannotLockException(
TeamFoundationRequestContext requestContext,
string serverItem,
string lockedItem,
string lockedBy,
string lockedWorkspace
)
public:
CannotLockException(
TeamFoundationRequestContext^ requestContext,
String^ serverItem,
String^ lockedItem,
String^ lockedBy,
String^ lockedWorkspace
)
new :
requestContext:TeamFoundationRequestContext *
serverItem:string *
lockedItem:string *
lockedBy:string *
lockedWorkspace:string -> CannotLockException
public function CannotLockException(
requestContext : TeamFoundationRequestContext,
serverItem : String,
lockedItem : String,
lockedBy : String,
lockedWorkspace : String
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- serverItem
Type: System.String
- lockedItem
Type: System.String
- lockedBy
Type: System.String
- lockedWorkspace
Type: System.String
.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.