WindowsIdentity.ISerializable.GetObjectData(SerializationInfo, StreamingContext) WindowsIdentity.ISerializable.GetObjectData(SerializationInfo, StreamingContext) WindowsIdentity.ISerializable.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Sets the SerializationInfo object with the logical context information needed to recreate an instance of this execution context.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
[System.Security.SecurityCritical]
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Parameters

info
SerializationInfo SerializationInfo SerializationInfo

An object containing the information required to serialize the Hashtable.

context
StreamingContext StreamingContext StreamingContext

An object containing the source and destination of the serialized stream associated with the Hashtable.

Implements

Remarks

This method sets a SerializationInfo with the logical call context information. During deserialization, the execution context object is reconstituted from the SerializationInfo transmitted over the stream.

For more information, see SerializationInfo.

Security

SecurityCriticalAttribute
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to