Share via


OnlyOneWorkspaceException Constructor (Workspace, String)

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

Parameters

  • dirName
    Type: System.String
    The directory that contains the workspace.

.NET Framework Security

See Also

Reference

OnlyOneWorkspaceException Class

OnlyOneWorkspaceException Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace