Delen via


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)

Syntax

'Declaration
Public Function FormatWorkspaceNameForException ( _
    conflictingWorkspace As Workspace _
) As String
public string FormatWorkspaceNameForException(
    Workspace conflictingWorkspace
)
public:
String^ FormatWorkspaceNameForException(
    Workspace^ conflictingWorkspace
)
member FormatWorkspaceNameForException : 
        conflictingWorkspace:Workspace -> string
public function FormatWorkspaceNameForException(
    conflictingWorkspace : Workspace
) : String

Parameters

Return Value

Type: System.String
The formatted workspace name.

Remarks

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

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace