OnlyOneWorkspaceException Constructor (Workspace, 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 ( _
    workspace As Workspace, _
    dirName As String, _
    innerException As Exception _
)
public OnlyOneWorkspaceException(
    Workspace workspace,
    string dirName,
    Exception innerException
)
public:
OnlyOneWorkspaceException(
    Workspace^ workspace, 
    String^ dirName, 
    Exception^ innerException
)
new : 
        workspace:Workspace * 
        dirName:string * 
        innerException:Exception -> OnlyOneWorkspaceException
public function OnlyOneWorkspaceException(
    workspace : Workspace, 
    dirName : String, 
    innerException : Exception
)

Parameters

  • dirName
    Type: System.String

    The directory that contains the workspace.

  • innerException
    Type: System.Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

OnlyOneWorkspaceException Class

OnlyOneWorkspaceException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace