EmbeddedJobSchedulerReceiveMessage Method (Int32, Guid)

Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Namespace:  AGI.Parallel.Client
Assembly:  AGI.Parallel.EmbeddedClient (in AGI.Parallel.EmbeddedClient.dll) Version: 1.4.0.476 (1.4.0.476)
Syntax
public Object ReceiveMessage(
        int millisecondsTimeout,
        out Guid sender
)

Parameters

millisecondsTimeout
Type: SystemInt32
The number of milliseconds to wait, or System.Threading.Timeout.Infinite (-1) to wait indefinitely.
sender
Type: SystemGuid
The address of the sender of the message.

Return Value

Type: Object
The message. null if timeout is elapsed

Implements

IMessageEndpointReceiveMessage(Int32, Guid)
See Also

STK Scalability 1.4 API for .NET