This documentation is archived and is not being maintained.

WorkspaceInfo.FormatWorkspaceNameForException Method

Formats the conflicting workspace name for exception when a conflict between names occurs.

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

public string FormatWorkspaceNameForException(
	WorkspaceInfo conflictingWorkspace


Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo

The WorkspaceInfo object that conflicts with this one.

Return Value

Type: System.String
The formatted workspace name.

The owner of the workspace is included when the owners are different.