UriFormatException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) UriFormatException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Populates a SerializationInfo instance with the data that is needed to serialize the UriFormatException.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);

Parameters

serializationInfo
SerializationInfo SerializationInfo

A SerializationInfo that will hold the serialized data for the UriFormatException.

streamingContext
StreamingContext StreamingContext

A StreamingContext that contains the destination of the serialized stream that is associated with the new UriFormatException.

Implements

Applies to

See also