Class SerializationEventArgs
Argument used when Serializing and Deserializing DynamicDataStore objects
Inheritance
System.Object
SerializationEventArgs
Namespace: EPiServer.Data.Serialization
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public class SerializationEventArgs : EventArgs
Constructors
SerializationEventArgs(Identity, Object)
Initializes a new instance of the SerializationEventArgs class.
Declaration
public SerializationEventArgs(Identity id, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| Identity | id | The id. |
| System.Object | value | The object instance. |
Properties
Cancel
Gets or sets a value indicating whether the serialize or deserialize operation for the object should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Id
Gets the id for the item
Declaration
public Identity Id { get; }
Property Value
| Type | Description |
|---|---|
| Identity | The id. |
ObjectInstance
Gets the object instance
Declaration
public object ObjectInstance { get; }
Property Value
| Type | Description |
|---|---|
| System.Object | The object. |
StoreName
Gets the name of the store for the item
Declaration
public string StoreName { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The name of the store. |