'Declaration Protected Event SerializeObjectState As System.EventHandler(Of SafeSerializationEventArgs)
'Usage Dim instance As AsyncException Dim handler As System.EventHandler(Of SafeSerializationEventArgs) AddHandler instance.SerializeObjectState, handler
protected event System.EventHandler<SafeSerializationEventArgs> SerializeObjectState
protected event SerializeObjectState: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
protected: __event System.EventHandler<SafeSerializationEventArgs*>* SerializeObjectState
protected: event System.EventHandler<SafeSerializationEventArgs^>^ SerializeObjectState
Event Data
The event handler receives an argument of type System.Runtime.Serialization.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