Determine whether a particular communication operation was cancelled. See Cancelled.

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static int MPI_Test_cancelled(
	ref Unsafe..::.MPI_Status status,
	out int flag
)
Visual Basic (Declaration)
Public Shared Function MPI_Test_cancelled ( _
	ByRef status As Unsafe..::.MPI_Status, _
	<OutAttribute> ByRef flag As Integer _
) As Integer
Visual C++
public:
static int MPI_Test_cancelled(
	Unsafe..::.MPI_Status% status, 
	[OutAttribute] int% flag
)

Parameters

status
Type: MPI..::.Unsafe..::.MPI_Status %
Status object
flag
Type: System..::.Int32 %
Will be set to a non-zero value if the communnication was cancelled.

Return Value

Error code.

See Also