Method SetDataSourceNotification
SetDataSourceNotification(DataSourceModifiedCallBack, EventType)
Sets the data source modified notification for write-through options.
Declaration
public void SetDataSourceNotification(DataSourceModifiedCallBack callback, EventType eventType)
Parameters
Type | Name | Description |
---|---|---|
DataSourceModifiedCallBack | callback | A delegate that is called when an item is added to the data source. |
EventType | eventType | Alachisoft.NCache.Runtime.Caching.WriteThruOptions.EventType specifies the type of event to be registered. |