Class ServiceEventArgs
An event which indicates that a IService state has changed:
- a service is starting
- a service has started
- a service is stopping
- a service has stopped
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class ServiceEventArgs : EventArgs
Constructors
ServiceEventArgs(IService, ServiceEventType)
Constructs a new ServiceEventArgs.
Declaration
public ServiceEventArgs(IService service, ServiceEventType eventType)
Parameters
Type | Name | Description |
---|---|---|
IService | service | The IService that fired the event. |
ServiceEventType | eventType | This event's type, one of the ServiceEventType enum values. |
Properties
EventType
Return this event's type.
Declaration
public virtual ServiceEventType EventType { get; }
Property Value
Type | Description |
---|---|
ServiceEventType | An event type. |
Remarks
The event type is one of the ServiceEventType enumerated constants.
Service
Return the IService that fired the event.
Declaration
public virtual IService Service { get; }
Property Value
Type | Description |
---|---|
IService | A service that fired the event. |
Methods
ToString()
Returns a string representation of this ServiceEventArgs object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this ServiceEventArgs object. |