InstanceNotReadyException Constructor (SerializationInfo, StreamingContext)
[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 InstanceNotReadyException class with serialized data.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New InstanceNotReadyException(info, context)
protected InstanceNotReadyException(
SerializationInfo info,
StreamingContext context
)
protected:
InstanceNotReadyException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> InstanceNotReadyException
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The information about the current exception.
- context
Type: System.Runtime.Serialization.StreamingContext
The contextual information about the source or destination.
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
InstanceNotReadyException Class
InstanceNotReadyException Members