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

Definición

Obtiene información de serialización con todos los datos necesarios para volver a crear una instancia de este AssemblyName.Gets serialization information with all the data needed to recreate an instance of this AssemblyName.

public:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
public 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 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