Udostępnij za pośrednictwem


ClaimsPrincipal.GetObjectData(SerializationInfo, StreamingContext) Metoda

Definicja

Wypełnia dane SerializationInfo wymagane do serializacji bieżącego ClaimsPrincipal obiektu.

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

Parametry

info
SerializationInfo

Obiekt używany do wypełniania danymi.

context
StreamingContext

Lokalizacja docelowa tej serializacji. Może to być null.

Atrybuty

Wyjątki

info to null.

Dotyczy