Compartilhar via


CannotLockException Constructor (String, Exception)

Encapsulates a message string and exception object into a CannotLockException.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaração
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public CannotLockException(
    string message,
    Exception ex
)
public:
CannotLockException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> CannotLockException
public function CannotLockException(
    message : String, 
    ex : Exception
)

Parameters

  • message
    Type: System.String
    A message that describes the exception.

.NET Framework Security

See Also

Reference

CannotLockException Class

CannotLockException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace