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

Definition

Returns the data needed to serialize the current instance.

 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 object containing the information required to serialize the Uri.

streamingContext
StreamingContext StreamingContext

A StreamingContext object containing the source and destination of the serialized stream associated with the Uri.

Implements

Security

SecurityPermission
to use serialization methods. Associated enumeration: SerializationFormatter.

Applies to