Compartilhar via


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)

Syntax

'Declaração
Public Function FormatWorkspaceNameForException ( _
    conflictingWorkspace As WorkspaceInfo _
) As String
public string FormatWorkspaceNameForException(
    WorkspaceInfo conflictingWorkspace
)
public:
String^ FormatWorkspaceNameForException(
    WorkspaceInfo^ conflictingWorkspace
)
member FormatWorkspaceNameForException : 
        conflictingWorkspace:WorkspaceInfo -> string 
public function FormatWorkspaceNameForException(
    conflictingWorkspace : WorkspaceInfo
) : String

Parameters

Return Value

Type: System.String
The formatted workspace name.

Remarks

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

.NET Framework Security

See Also

Reference

WorkspaceInfo Class

Microsoft.TeamFoundation.VersionControl.Client Namespace