WorkerRoleInstance<'StartParamType>
WorkerRoleInstance can be extended to run a Prajna worker service. Unlike WorkerRoleEntryPoint, WorkerRoleInstance is to be instantiated at the remote end so it is class member is not serialized.
Constructors
Constructor | Description |
new()
Signature: unit -> WorkerRoleInstance<'StartParamType>
|
Instance members
Instance member | Description |
OnStart(arg1)
Signature: 'StartParamType -> bool
Modifiers: abstract |
bool OnStart(): Run once when the service started for all thread, it will be runned in each thread. |