Send a message to a particular processor.

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


public void Send<T>(
	T[] values,
	int dest,
	int tag
Visual Basic (Declaration)
Public Sub Send(Of T) ( _
	values As T(), _
	dest As Integer, _
	tag As Integer _
Visual C++
generic<typename T>
void Send(
	array<T>^ values, 
	int dest, 
	int tag


Type: array< T >[]()[]
The values that will be transmitted with the message.
Type: System..::.Int32
The rank of the process that will receive this message. This must be a value in [0, Size-1), but it should not be equal to Rank.
Type: System..::.Int32
A message "tag" that identifies this particular kind of message. The receive must use the same message tag to receive this message.

Type Parameters

The type of the value to be sent. This type must be serializable.


The basic Send operation will block until this message data has been transferred from values. This might mean that the Send operation will return immediately, before the receiver has actually received the data. However, it is also possible that Send won't return until it matches a Receive<(Of <(T>)>)(Int32, Int32, array<T>[]()[]%) operation. Thus, the dest parameter should not be equal to Rank, because a send-to-self operation might never complete.

See Also