Class MemberEventArgs
An event which indicates that membership has changed.
Inherited Members
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public class MemberEventArgs
Remarks
Possible event types are:
A MemberEventArgs object is sent as an argument to the MemberEventHandler methods.
Constructors
MemberEventArgs(IService, MemberEventType, IMember)
Constructs a new MemberEventArgs.
Declaration
public MemberEventArgs(IService source, MemberEventType eventType, IMember member)
Parameters
Type | Name | Description |
---|---|---|
IService | source | The source object that fired the event (a IService). |
MemberEventType | eventType | This event's type. |
IMember | member | The IMember for which the event applies. |
Properties
EventType
Gets this event's type.
Declaration
public virtual MemberEventType EventType { get; }
Property Value
Type | Description |
---|---|
MemberEventType | An event type. |
Remarks
The event type is one of the MemberEventType enumerated constants.
Member
Gets the IMember associated with this event.
Declaration
public virtual IMember Member { get; }
Property Value
Type | Description |
---|---|
IMember | An IMember. |
Service
Gets the IService object that fired the event.
Declaration
public virtual IService Service { get; }
Property Value
Type | Description |
---|---|
IService | An object on which this event has occured. |
Methods
ToString()
Returns a string representation of this MemberEventArgs object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this MemberEventArgs object. |