Upraviť

Zdieľať cez


RolePrincipal.ISerializable.GetObjectData Method

Definition

For a description of this member, see GetObjectData(Object, SerializationInfo, StreamingContext).

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo

The SerializationInfo to populate with data.

context
StreamingContext

The destination for this serialization.

Implements

Remarks

This member is an explicit-interface member implementation. It can be used only when the RolePrincipal instance is cast to an ISerializable interface.

Applies to