Cape Persistence Not Found Exception(Serialization Info, Streaming Context, String) Constructor
Initializes a new instance of the CapePersistenceNotFoundException class with serialized data.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public CapePersistenceNotFoundException(
SerializationInfo info,
StreamingContext context,
string itemName
)VB
Public Sub New (
info As SerializationInfo,
context As StreamingContext,
itemName As String
)Parameters
- info SerializationInfo
- The object that holds the serialized object data.
- context StreamingContext
- The contextual information about the source or destination.
- itemName String
- Name of the item that was not found that is the cause of this exception.
Remarks
This constructor is called during deserialization to reconstitute the
exception object transmitted over a stream. For more information, see XML and
SOAP Serialization.