Partager via


WorkspaceCreationException Constructor (String, Exception)

Encapsulates a message string and exception object into a WorkspaceCreationException.

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 WorkspaceCreationException(
    string message,
    Exception ex
)
public:
WorkspaceCreationException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> WorkspaceCreationException
public function WorkspaceCreationException(
    message : String, 
    ex : Exception
)

Parameters

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

.NET Framework Security

See Also

Reference

WorkspaceCreationException Class

WorkspaceCreationException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace