FileFormatException.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Imposta l'oggetto SerializationInfo con il nome del file e le informazioni aggiuntive sull'eccezione.Sets the SerializationInfo object with the file name and additional exception information.

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
[<System.Security.SecurityCritical>]
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

Oggetto che contiene i dati oggetto serializzati.The object that holds the serialized object data.

context
StreamingContext

Informazioni contestuali sull'origine o sulla destinazione.The contextual information about the source or destination.

Implementazioni

Attributi

Si applica a