VMware GemFire Native .NET Reference  9.2.4
Apache::Geode::Client::RegionEvent< TKey, TValue > Class Template Reference

This class encapsulates events that occur for a region. More...

Inherits UMWrap< apache::geode::client::RegionEvent >.

Public Member Functions

 RegionEvent (IRegion< TKey, TValue >^ region, Object^ aCallbackArgument, bool remoteOrigin)
 Constructor to create a RegionEvent for a given region. More...
 

Properties

Object^ CallbackArgument [get]
 Returns the callbackArgument passed to the method that generated this event. More...
 
IRegion< TKey, TValue >^ Region [get]
 Return the region this event occurred in. More...
 
bool RemoteOrigin [get]
 Returns true if the event originated in a remote process. More...
 

Detailed Description

template<class TKey, class TValue>
class Apache::Geode::Client::RegionEvent< TKey, TValue >

This class encapsulates events that occur for a region.

Constructor & Destructor Documentation

◆ RegionEvent()

template<class TKey , class TValue >
Apache::Geode::Client::RegionEvent< TKey, TValue >::RegionEvent ( IRegion< TKey, TValue >^  region,
Object^  aCallbackArgument,
bool  remoteOrigin 
)

Constructor to create a RegionEvent for a given region.

Exceptions
IllegalArgumentExceptionif region is null

Property Documentation

◆ CallbackArgument

template<class TKey , class TValue >
Object^ Apache::Geode::Client::RegionEvent< TKey, TValue >::CallbackArgument
get

Returns the callbackArgument passed to the method that generated this event.

See the Region interface methods that take a callbackArgument parameter.

◆ Region

template<class TKey , class TValue >
IRegion< TKey, TValue>^ Apache::Geode::Client::RegionEvent< TKey, TValue >::Region
get

Return the region this event occurred in.

◆ RemoteOrigin

template<class TKey , class TValue >
bool Apache::Geode::Client::RegionEvent< TKey, TValue >::RemoteOrigin
get

Returns true if the event originated in a remote process.


VMware GemFire .NET Cache API Documentation