Condividi tramite


RolePrincipal.GetObjectData(SerializationInfo, StreamingContext) Metodo

Definizione

Popola un oggetto SerializationInfo con i dati necessari per serializzare l'oggetto di destinazione utilizzando il contesto di flusso specificato.

protected:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected override 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
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)
Protected Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parametri

info
SerializationInfo

Oggetto SerializationInfo da popolare con i dati.

context
StreamingContext

Destinazione per questa serializzazione.

Commenti

Per altre informazioni, vedere il metodo GetObjectData(SerializationInfo, StreamingContext).

Si applica a