Rediger

Del via


ExtendedProtectionPolicy.ISerializable.GetObjectData Method

Definition

Populates a SerializationInfo object with the required data to serialize an ExtendedProtectionPolicy object.

 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);
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

A SerializationInfo object that holds the serialized data for an ExtendedProtectionPolicy object.

context
StreamingContext

A StreamingContext that contains the destination of the serialized stream that is associated with the new ExtendedProtectionPolicy.

Implements

Remarks

The ISerializable.GetObjectData method can be used to serialize an ExtendedProtectionPolicy object. This serialized object can then be used with ExtendedProtectionPolicy(SerializationInfo, StreamingContext) to construct a new ExtendedProtectionPolicy object.

Applies to

See also