ClusterJobScheduler.ReceiveMessage 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.Client (in AGI.Parallel.Client.dll) Version: 2.10.0.1777 (2.10.0.1777)
Syntaxpublic Object ReceiveMessage(
int millisecondsTimeout,
out Guid sender
)
Public Function ReceiveMessage (
millisecondsTimeout As Integer,
<OutAttribute> ByRef sender As Guid
) As Object
Parameters
- millisecondsTimeout
- Type: System.Int32
The number of milliseconds to wait, or System.Threading.Timeout.Infinite (-1) to wait indefinitely. - sender
- Type: System.Guid
The address of the sender of the message.
Return Value
Type:
ObjectThe message.
null if timeout is elapsed
Implements
IMessageEndpoint.ReceiveMessage(Int32, Guid)
See Also