Class Service
Service class.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public abstract class Service
Constructors
Service()
Declaration
protected Service()
Properties
ServiceStatus
Gets the service status state.
Declaration
public ServiceStatus ServiceStatus { get; }
Property Value
Type | Description |
---|---|
ServiceStatus | The service status. |
Methods
OnPause()
Called when service is paused.
Declaration
protected virtual void OnPause()
OnResume()
Called when service is resumed.
Declaration
protected virtual void OnResume()
OnStart()
Called when service is started.
Declaration
protected virtual void OnStart()
OnStop()
Called when service is stoped.
Declaration
protected virtual void OnStop()
Pause()
Pauses this service.
Declaration
public void Pause()
Resume()
Resumes this service.
Declaration
public void Resume()
Start()
Starts this service.
Declaration
public void Start()
Stop()
Stops this service.
Declaration
public void Stop()
Events
Paused
Occurs when service is paused.
Declaration
public event EventHandler Paused
Event Type
Type |
---|
System.EventHandler |
Resumed
Occurs when service is resumed.
Declaration
public event EventHandler Resumed
Event Type
Type |
---|
System.EventHandler |
Started
Occurs when service is started.
Declaration
public event EventHandler Started
Event Type
Type |
---|
System.EventHandler |
Stopped
Occurs when service is stopped.
Declaration
public event EventHandler Stopped
Event Type
Type |
---|
System.EventHandler |