Redigera

Dela via


SerializationCallbacksAttribute Class

Definition

Specifies a type to be instantiated and invoked when performing serialization operations on instances of the type which this attribute is attached to.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
public sealed class SerializationCallbacksAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)>]
type SerializationCallbacksAttribute = class
    inherit Attribute
Public NotInheritable Class SerializationCallbacksAttribute
Inherits Attribute
Inheritance
SerializationCallbacksAttribute
Attributes

Constructors

SerializationCallbacksAttribute(Type)

Instantiates a new SerializationCallbacksAttribute instance.

Properties

HookType

The type of the hook class.

Applies to