StateException Constructor (String, Exception)
Initializes a new instance of the StateException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.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 StateException(message, innerException)
public StateException (
string message,
Exception innerException
)
public:
StateException (
String^ message,
Exception^ innerException
)
public StateException (
String message,
Exception innerException
)
public function StateException (
message : String,
innerException : Exception
)
Parameters
- message
The error message that explains the reason for the exception.
- innerException
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
See Also
Reference
StateException Class
StateException Members
Microsoft.Practices.CompositeUI Namespace