Click or drag to resize

ClusterJobSchedulerReceiveMessage 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.9.0.1601 (2.9.0.1601)
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 Parallel Computing Server 2.9 API for .NET