Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Thread­Aware­Attribute Class / Thread­Aware­Attribute Methods / Thread­Aware­Attribute.​On­Serializing Method

ThreadAwareAttribute.OnSerializing Method

Requires read access level to the current object before serialization can proceed. This method will be introduced into the target class.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
public void OnSerializing(
	StreamingContext streamingContext
)

Parameters

streamingContext
Type: System.Runtime.Serialization.StreamingContext
Streaming context.
See Also