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

Definition

Gets object data regarding the WrongPropertyValue 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 that holds the serialized object data about the exception being thrown.

context
StreamingContext StreamingContext StreamingContext

StreamingContext that contains contextual information about the source or destination.

Applies to