PostSharp//API Reference/Post­Sharp.​Patterns.​Collections/Advisable­Hash­Set<T>/Get­Object­Data
Open sandboxFocus

Method GetObjectData

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The SerializationInfo to populate with data.

StreamingContext context

The destination (see StreamingContext) for this serialization.

Overrides
DynamicallyAdvisableObject.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
Type Condition
SecurityException

The caller does not have the required permission.