Click or drag to resize

IMessageEndpointReceiveMessage Method (Int32)

Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.

Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 2.9.0.1601 (2.9.0.1601)
Syntax
Object ReceiveMessage(
	int millisecondsTimeout
)

Parameters

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

Return Value

Type: Object
The message. null if timeout is elapsed.
See Also

STK Parallel Computing Server 2.9 API for .NET