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

Definición

Devuelve los datos necesarios para serializar la instancia actual.Returns the data needed to serialize the current instance.

protected:
 void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
member this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit

Parámetros

serializationInfo
SerializationInfo SerializationInfo SerializationInfo

Objeto SerializationInfo que contiene la información que se requiere para serializar Uri.A SerializationInfo object containing the information required to serialize the Uri.

streamingContext
StreamingContext StreamingContext StreamingContext

Objeto StreamingContext que contiene el origen y el destino de la secuencia serializada asociada al Uri.A StreamingContext object containing the source and destination of the serialized stream associated with the Uri.

Implementaciones

Seguridad

SecurityPermission
para usar métodos de serialización.to use serialization methods. Enumeración asociada: SerializationFormatter.Associated enumeration: SerializationFormatter.

Se aplica a