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

Definition

Sets the SerializationInfo with information about the exception.

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 Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.

context
StreamingContext StreamingContext StreamingContext

SerializationInfo Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.

Examples

Handling SMO Exceptions

Applies to