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

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);
[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 SerializationInfo SerializationInfo SerializationInfo

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

context
StreamingContext StreamingContext StreamingContext StreamingContext

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

Implementaciones

Excepciones

Seguridad

SecurityCriticalAttribute
requiere plena confianza para el llamador inmediato.Requires full trust for the immediate caller. Este miembro no se puede usar código de confianza parcial o transparente.This member cannot be used by partially trusted or transparent code.

Se aplica a