MultipleWorkspacesFoundException Constructor
Initializes a new instance of the MultipleWorkspacesFoundException class with the specified suppliedWorskpaceName, suppliedOwnerName and mathingWorkspaceSpecs.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
suppliedWorkspaceName As String, _
suppliedOwnerName As String, _
matchingWorkspaceSpecs As List(Of String) _
)
public MultipleWorkspacesFoundException(
string suppliedWorkspaceName,
string suppliedOwnerName,
List<string> matchingWorkspaceSpecs
)
public:
MultipleWorkspacesFoundException(
String^ suppliedWorkspaceName,
String^ suppliedOwnerName,
List<String^>^ matchingWorkspaceSpecs
)
new :
suppliedWorkspaceName:string *
suppliedOwnerName:string *
matchingWorkspaceSpecs:List<string> -> MultipleWorkspacesFoundException
public function MultipleWorkspacesFoundException(
suppliedWorkspaceName : String,
suppliedOwnerName : String,
matchingWorkspaceSpecs : List<String>
)
Parameters
suppliedWorkspaceName
Type: System.StringThe name of the supplied workspace.
suppliedOwnerName
Type: System.StringThe name of the supplied owner.
matchingWorkspaceSpecs
Type: System.Collections.Generic.List<String>The collections of matching workspace specs.
.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.