Service
|
The ServiceHelper type exposes the following members.
Name | Description | |
---|---|---|
AddProcess(ActionString, Object, String) | Adds a new ServiceProcess to the ServiceHelper. | |
AddProcess(ActionString, Object, String, Object) | Adds a new ServiceProcess to the ServiceHelper. | |
AddScheduledProcess(ActionString, Object, String, String) | Adds a new ServiceProcess to the ServiceHelper that executes on a schedule. | |
AddScheduledProcess(ActionString, Object, String, Object, String) | Adds a new ServiceProcess to the ServiceHelper that executes on a schedule. | |
BeginInit | Performs necessary operations before the ServiceHelper properties are initialized. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject) |
|
DisconnectClient | Disconnects the client from the service. | |
Dispose | Releases all resources used by the Component. (Inherited from Component) |
|
Dispose(Boolean) |
Releases the unmanaged resources used by the ServiceHelper object and optionally releases the managed resources.
(Overrides ComponentDispose(Boolean)) |
|
EndInit | Performs necessary operations after the ServiceHelper properties are initialized. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
|
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component) |
|
FindClientRequestHandler | Returns the ClientRequestHandler object for the specified handlerCommand. | |
FindConnectedClient | Returns the ClientInfo object for the specified clientID. | |
FindProcess | Returns the ServiceProcess for the specified processName. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
|
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component) |
|
GetType | Gets the Type of the current instance. (Inherited from Object) |
|
Initialize | Initializes the ServiceHelper. | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
|
LoadSettings | Loads saved settings of the ServiceHelper from the config file if the PersistSettings property is set to true. | |
LoadSettings(Boolean) | Loads saved settings of the ServiceHelper from the config file if the PersistSettings property is set to true. | |
LogConnectionException | Log exception to ConnectionErrorLogger. | |
LogException | Log exception to ErrorLogger. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) |
|
OnLoggedException | Raises LoggedException event with logged exception. | |
OnPause | To be called from the OnPause method of ParentService. | |
OnProcessStateChanged | Raises the ProcessStateChanged event. | |
OnReceivedClientRequest | Raises the ReceivedClientRequest event. | |
OnResume | To be called from the OnContinue method of ParentService. | |
OnSendingClientResponse | Raises the SendingClientResponse event. | |
OnServicePaused | Raises the ServicePaused event. | |
OnServicePausing | Raises the ServicePausing event. | |
OnServiceResumed | Raises the ServiceResumed event. | |
OnServiceResuming | Raises the ServiceResuming event. | |
OnServiceStarted | Raises the ServiceStarted event. | |
OnServiceStarting | Raises the ServiceStarting event. | |
OnServiceStopped | Raises the ServiceStopped event. | |
OnServiceStopping | Raises the ServiceStopping event. | |
OnShutdown | To be called from the OnShutdown method of ParentService. | |
OnStart | To be called from the OnStart(String) method of ParentService. | |
OnStop | To be called from the OnStop method of ParentService. | |
OnSystemShutdown | Raises the SystemShutdown event. | |
OnUpdatedStatus | Raises the UpdatedStatus event with the updated status message. | |
RemoveProcess | Removes an existing ServiceProcess from the ServiceHelper. | |
RemoveScheduledProcess | Removes an existing ServiceProcess from the ServiceHelper that is scheduled for automatic execution. | |
SaveSettings | Saves settings of the ServiceHelper to the config file if the PersistSettings property is set to true. | |
SaveSettings(Boolean) | Saves settings of the ServiceHelper to the config file if the PersistSettings property is set to true. | |
ScheduleProcess(String, String) | Schedules an existing ServiceProcess for automatic execution. | |
ScheduleProcess(String, String, Boolean) | Schedules an existing ServiceProcess for automatic execution. | |
SendActionableResponse | Sends an actionable response to client along with an optional formatted message and attachment. | |
SendResponse(ServiceResponse) | Sends the specified response to all RemoteClients. | |
SendResponse(Guid, ServiceResponse) | Sends the specified response to the specified client only. | |
SendResponse(Guid, ServiceResponse, Boolean) | Sends the specified response to the specified client only. | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component) |
|
UnscheduleProcess | Unschedules an existing ServiceProcess scheduled for automatic execution. | |
UpdateStatus(UpdateType, String, Object) | Provides a status update to all RemoteClients. | |
UpdateStatus(Guid, UpdateType, String, Object) | Provides a status update to the specified client. | |
UpdateStatus(UpdateType, Boolean, String, Object) | Provides a status update to all RemoteClients. | |
UpdateStatus(Guid, UpdateType, Boolean, String, Object) | Provides a status update to the specified client. | |
UpdateStatusAppendLine(UpdateType, String, Object) | Provides a line terminated status update to all RemoteClients. | |
UpdateStatusAppendLine(Guid, UpdateType, String, Object) | Provides a line terminated status update to the specified client. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
|
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |