PostSharp4.3//API Reference/Post­Sharp.​Patterns.​Collections Namespace/Advisable­Collection(T) Class/Advisable­Collection(T) Methods/Advisable­Collection(T).​Get­Object­Data Method
AdvisableCollection<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: 4.3.48.0 (4.3.48.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