Method SetDataSourceNotification
SetDataSourceNotification(DataSourceModifiedCallBack, EventType)
Set 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 item is added to data source. |
EventType | eventType | Alachisoft.NCache.Runtime.Caching.WriteThruOptions.EventType specifies the type of event to be registered. |