• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Class DataTypeEventArg

This object is received when a collection event is raised and a delegate DataTypeDataNotificationCallback is executed. This class contains necessary information to identify the event and perform necessary actions accordingly.

Inheritance
System.Object
DataTypeEventArg
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class DataTypeEventArg

Constructors

DataTypeEventArg(String, EventType, DistributedDataType, Object, Object)

Constructor that initializes all the properties of the class DataTypeEventArg.

Declaration
public DataTypeEventArg(string cacheName, EventType eventType, DistributedDataType dataType, object dataTypeItem, object oldDataTypeItem)
Parameters
Type Name Description
System.String cacheName

Name of cache, the collection event is to be registered against.

EventType eventType

Unique, user specified key attribute for the item added to NCache on client registration. Event key is specific to the application. Each client of the application will use the same event key while calling NCache's extension method.

DistributedDataType dataType

The type of collection, pertaining to DistributedDataType, to be returned on the fire of a collection event.

System.Object dataTypeItem

Value of collection item if the respective filter is set.

System.Object oldDataTypeItem

Old value of collection item if the respective filter is set.

Properties

CacheName

Name of the cache the collection event is registered against.

Declaration
public string CacheName { get; }
Property Value
Type Description
System.String

Name of the cache.

CollectionItem

Contains the current value if collection event was registered against Data.

Declaration
public object CollectionItem { get; }
Property Value
Type Description
System.Object

Actually affected item.

CollectionType

The type of collection, pertaining to DistributedDataType, returned on the fire of a collection event.

Declaration
public DistributedDataType CollectionType { get; }
Property Value
Type Description
DistributedDataType

Enum that defines the data type.

EventType

This property specifies the type of event to be registered by the user. Event types are specified at the time of notification registration.

Declaration
public EventType EventType { get; }
Property Value
Type Description
EventType

Returns an EventType enum which specifies the type of event to be registered by the user. Event types are specified at the time of notification registration.

OldCollectionItem

Contains the previous value if the collection event was registered against Data.

Declaration
public object OldCollectionItem { get; }
Property Value
Type Description
System.Object

Old object on which the event has occurred.

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top