IBatchHubServiceBatchJobReceive Method |
Receives job from queue to be processed by a batch worker.
Namespace: PDTec.IceNet.Domain.BatchHub.Service.InterfaceAssembly: PDTec.IceNet.Domain.BatchHub (in PDTec.IceNet.Domain.BatchHub.dll) Version: 6.0.0.0 (6.0.6225.27214)
SyntaxServiceResult BatchJobReceive(
string queueName,
string workerName,
int timeout,
out bool jobReceived,
out BatchJobInfo job
)
Parameters
- queueName
- Type: SystemString
The queue name. - workerName
- Type: SystemString
The worker name. The job property [ProcessedBy] is set to this value. - timeout
- Type: SystemInt32
The timeout period in seconds. - jobReceived
- Type: SystemBoolean
Indicates whether a job has been received or no job was available within the timeout period. - job
- Type: PDTec.IceNet.Domain.BatchHub.Service.InterfaceBatchJobInfo
The received batch job.
Return Value
Type:
ServiceResultThe service result status information.
See Also