This documentation is archived and is not being maintained.

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)

public:
OnlyOneWorkspaceException(
	Workspace^ workspace, 
	String^ dirName
)

Parameters

workspace
Type: Microsoft.TeamFoundation.VersionControl.Client::Workspace

The workspace that threw the exception.

dirName
Type: System::String

The directory that contains the workspace.

Show: