This documentation is archived and is not being maintained.

Workspace.FormatWorkspaceNameForException Method

Formats the conflicting workspace name for an exception when two names conflict.

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

public string FormatWorkspaceNameForException(
	Workspace conflictingWorkspace
)

Parameters

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

The workspace that conflicts with this workspace.

Return Value

Type: System.String
The formatted workspace name.

The workspace owner is included if the conflicting workspaces have different owners.

Show: