asynchronusly receives data
| C# | Visual Basic | Visual C++ |
public IAsyncResult BeginReceive<T>( int source, string tag, TimeSpan timeout, AsyncCallback callback, Object asyncState )
Public Function BeginReceive(Of T) ( _ source As Integer, _ tag As String, _ timeout As TimeSpan, _ callback As AsyncCallback, _ asyncState As Object _ ) As IAsyncResult
public: generic<typename T> IAsyncResult^ BeginReceive( int source, String^ tag, TimeSpan timeout, AsyncCallback^ callback, Object^ asyncState )
- T
- type of data to receive
- source (Int32)
- sending host rank
- tag (String)
- data identifier
- timeout (TimeSpan)
- time to wait for data
- callback (AsyncCallback)
- function to call when data is received
- asyncState (Object)
- object token for callback
asynchronous result