Initializes a new WorkspaceRequiresComputerNameException instance.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    message As String, _
    ex As Exception _
)
public WorkspaceRequiresComputerNameException(
    string message,
    Exception ex
)
public:
WorkspaceRequiresComputerNameException(
    String^ message, 
    Exception^ ex
)
new : 
        message:string * 
        ex:Exception -> WorkspaceRequiresComputerNameException
public function WorkspaceRequiresComputerNameException(
    message : String, 
    ex : Exception
)
Parameters
- message 
 Type: System.String- A message describing the error. 
- ex 
 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
WorkspaceRequiresComputerNameException Class