WindowsIdentity.ISerializable.GetObjectData Method

Definition

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

C#
void ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
C#
[System.Security.SecurityCritical]
void ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

An object containing the information required to serialize the Hashtable.

context
StreamingContext

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

Implements

Attributes

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.

Applies to

Product Versions
.NET 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5