Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the DataException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.VisualStudio.TeamSystem.Data
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim instance As New DataException(message, innerException)
public DataException (
string message,
Exception innerException
)
public:
DataException (
String^ message,
Exception^ innerException
)
public DataException (
String message,
Exception innerException
)
public function DataException (
message : String,
innerException : Exception
)
Parameters
- message
A message that describes the error.
- innerException
The exception that is the cause of the current exception.
Remarks
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property.
See Also
Reference
DataException Class
DataException Members
Microsoft.VisualStudio.TeamSystem.Data Namespace
InnerException
Message