Represents grid-managed service.
More...
|
| void | Init (IServiceContext context) |
| | Initializes this instance before execution. More...
|
| |
| void | Execute (IServiceContext context) |
| | Starts execution of this service. This method is automatically invoked whenever an instance of the service is deployed on a grid node. Note that service is considered deployed even after it exits the Execute method and can be cancelled (or undeployed) only by calling any of the Cancel methods on IServices API. Also note that service is not required to exit from Execute method until Cancel method was called. More...
|
| |
| void | Cancel (IServiceContext context) |
| | Cancels this instance. Note that grid cannot guarantee that the service exits from IService.Execute method whenever IService.Cancel is called. It is up to the user to make sure that the service code properly reacts to cancellations. More...
|
| |
- Parameters
-
| context | Service execution context. |
- Parameters
-
| context | Service execution context. |
- Parameters
-
| context | Service execution context. |