Workspace.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
'宣言
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
- conflictingWorkspace
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
The workspace that conflicts with this workspace.
Return Value
Type: System.String
The formatted workspace name.
Remarks
The workspace owner is included when the owners are different.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.