LocalWorkspaceRequiredException Constructor (String, Exception)
Initializes a new instance of the LocalWorkspaceRequiredException class.
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 LocalWorkspaceRequiredException(
string message,
Exception ex
)
public:
LocalWorkspaceRequiredException(
String^ message,
Exception^ ex
)
new :
message:string *
ex:Exception -> LocalWorkspaceRequiredException
public function LocalWorkspaceRequiredException(
message : String,
ex : Exception
)
Parameters
message
Type: System.StringThe message about the exception.
ex
Type: System.ExceptionThe error that caused the 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
LocalWorkspaceRequiredException Class