Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Hash­Set(T) Class / Advisable­Hash­Set(T) Methods / Advisable­Hash­Set(T).​Get­Object­Data Method

AdvisableHashSet<T>.GetObjectData Method

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

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.3.0 (6.1.3.0)
Syntax
C#
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.Serialization.StreamingContext
The destination (see StreamingContext) for this serialization.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
ExceptionCondition
SecurityExceptionThe caller does not have the required permission.
See Also