InstancePersistenceException Constructor (String, Exception)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes an instance of the InstancePersistenceException class using the error message and inner exception information.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.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 InstancePersistenceException(message, _
innerException)
public InstancePersistenceException(
string message,
Exception innerException
)
public:
InstancePersistenceException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> InstancePersistenceException
Parameters
- message
Type: System.String
The reason for the current exception.
- innerException
Type: System.Exception
The exception that causes the current exception.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4
.NET Framework Client Profile
Supported in: 4
See Also
Reference
InstancePersistenceException Class
InstancePersistenceException Members