Partager via


CannotUnlockException Constructor (String, Exception)

Encapsulates a message string and exception object into a CannotUnlockException.

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

Syntax

'Déclaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public CannotUnlockException(
    string message,
    Exception ex
)
public:
CannotUnlockException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> CannotUnlockException
public function CannotUnlockException(
    message : String, 
    ex : Exception
)

Parameters

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

.NET Framework Security

See Also

Reference

CannotUnlockException Class

CannotUnlockException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace