OnlyOneWorkspaceException Constructor (Workspace, String, Exception)
Initializes a new OnlyOneWorkspaceException instance.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
Public Sub New ( _
workspace As Workspace, _
dirName As String, _
innerException As Exception _
)
public OnlyOneWorkspaceException(
Workspace workspace,
string dirName,
Exception innerException
)
public:
OnlyOneWorkspaceException(
Workspace^ workspace,
String^ dirName,
Exception^ innerException
)
new :
workspace:Workspace *
dirName:string *
innerException:Exception -> OnlyOneWorkspaceException
public function OnlyOneWorkspaceException(
workspace : Workspace,
dirName : String,
innerException : Exception
)
Parameters
- workspace
Type: Microsoft.TeamFoundation.VersionControl.Client.Workspace
The workspace that threw the exception.
- dirName
Type: System.String
The directory that contains the workspace.
- innerException
Type: System.Exception
The exception that caused this exception.
.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.
See Also
Reference
OnlyOneWorkspaceException Class