SerializeObjectState Event
See Also 
SourceCode.Framework Namespace > ObjectLoadException Class : SerializeObjectState Event



Glossary Item Box

Syntax

Visual Basic (Declaration)  
Protected Event SerializeObjectState As EventHandler(Of SafeSerializationEventArgs)
Visual Basic (Usage) Copy Code
Dim instance As ObjectLoadException
Dim handler As EventHandler(Of SafeSerializationEventArgs)
 
AddHandler instance.SerializeObjectState, handler
C#  
protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState
C++/CLI  
protected:
event EventHandler<SafeSerializationEventArgs^>^ SerializeObjectState

Event Data

The event handler receives an argument of type SafeSerializationEventArgs containing data related to this event. The following SafeSerializationEventArgs properties provide information specific to this event.

Property Description
StreamingContext Gets or sets an object that describes the source and destination of a serialized stream.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also