Share via


OnlyOneWorkspaceException Constructor (String, Exception)

Initializes a new OnlyOneWorkspaceException instance.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    exception As Exception _
)
public OnlyOneWorkspaceException(
    string message,
    Exception exception
)
public:
OnlyOneWorkspaceException(
    String^ message, 
    Exception^ exception
)
new : 
        message:string * 
        exception:Exception -> OnlyOneWorkspaceException
public function OnlyOneWorkspaceException(
    message : String, 
    exception : Exception
)

Parameters

  • message
    Type: System.String

    A message that describes the exception.

.NET Framework Security

See Also

Reference

OnlyOneWorkspaceException Class

OnlyOneWorkspaceException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace