ClaimsIdentity.GetObjectData(SerializationInfo, StreamingContext) Methode

Definition

Füllt das SerializationInfo-Objekt mit den für das Serialisieren des aktuellen ClaimsIdentity-Objekts erforderlichen Daten.Populates the SerializationInfo with data needed to serialize the current ClaimsIdentity object.

protected:
 virtual 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);
[System.Security.SecurityCritical]
protected virtual 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
Protected Overridable Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Das -Objekt, das mit Daten aufgefüllt werden soll.The object to populate with data.

context
StreamingContext

Das Ziel für diese Serialisierung.The destination for this serialization. Kann null sein.Can be null.

Attribute

Ausnahmen

info ist nullinfo is null.

Gilt für: