PrintSystemException.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Ottiene i dati utilizzati per serializzare l'oggetto e ottiene il contesto del flusso serializzato.Gets the data that is used to serialize the object and gets the context of the serialized stream.

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

Parametri

info
SerializationInfo

Dati necessari per serializzare o deserializzare un oggetto.The data that is required to serialize or deserialize an object.

context
StreamingContext

Contesto del flusso serializzato, comprese l'origine e la destinazione.The context, including source and destination, of the serialized stream.

Attributi

Si applica a