PostSharp 6.9 / / Post­Sharp Documentation / 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.9.7.0 (6.9.7.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