Assembly.GetObjectData(SerializationInfo, StreamingContext) Método

Definición

Obtiene información de serialización con todos los datos necesarios para crear una nueva instancia de este ensamblado.Gets serialization information with all of the data needed to reinstantiate this assembly.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
public virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parámetros

info
SerializationInfo

Objeto que debe llenarse con información de serialización.The object to be populated with serialization information.

context
StreamingContext

Contexto de destino de la serialización.The destination context of the serialization.

Implementaciones

Atributos

Excepciones

info es null.info is null.

Se aplica a