Freigeben über


RolePrincipal.GetObjectData(SerializationInfo, StreamingContext) Methode

Definition

Füllt ein SerializationInfo-Objekt mit den Daten aus, die zur Serialisierung des Zielobjekts mithilfe des angegebenen Streamingkontexts erforderlich sind.

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)

Parameter

info
SerializationInfo

Das mit Daten aufzufüllende SerializationInfo-Objekt.

context
StreamingContext

Das Ziel dieser Serialisierung.

Hinweise

Weitere Informationen finden Sie unter der Methode GetObjectData(SerializationInfo, StreamingContext).

Gilt für