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: 2.9.0.1601 (2.9.0.1601)
Syntax public Object ReceiveMessage(
int millisecondsTimeout,
out Guid sender
)
Public Function ReceiveMessage (
millisecondsTimeout As Integer,
<OutAttribute> ByRef sender As Guid
) As Object
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:
ObjectThe message.
null if timeout is elapsed
Implements
IMessageEndpointReceiveMessage(Int32, Guid)See Also