Show / Hide Table of Contents

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
Inheritance
object
EventArgs
ServiceEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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.

Overrides
object.ToString()

See Also

IService
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.