Class SerializationEventArgs
Argument used when Serializing and Deserializing DynamicDataStore objects
Inheritance
System.Object
System.EventArgs
SerializationEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Serialization
Assembly: EPiServer.Data.dll
Version: 10.10.4Syntax
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. |