PropertyNotSetException.GetObjectData(SerializationInfo, StreamingContext) PropertyNotSetException.GetObjectData(SerializationInfo, StreamingContext) PropertyNotSetException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Gets the serialized data for the exception object.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)
Parameters
info
SerializationInfo SerializationInfo SerializationInfo

SerializationInfo that populates a specified SerializationInfo with the data needed to serialize the current object.

context
StreamingContext StreamingContext StreamingContext

StreamingContext that describes the source and destination of a given serialized stream, and provides an additional caller-defined context.

Examples

Handling SMO Exceptions

Applies to