PostSharp6.6//API Reference/Post­Sharp.​Extensibility Namespace/Message­Exception Class/Message­Exception Methods/Message­Exception.​Get­Object­Data Method

MessageException.GetObjectData Method

Serializes the current object.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.6.12.0 (6.6.12.0)
Syntax
C#
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
Serialization information.
context
Type: System.Runtime.Serialization.StreamingContext
Serialization context.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
See Also