NamedPipeTransport.ReceiveAsync(Byte[], Int32, Int32) Method

Definition

Called to receive data from the wire transport.

public System.Threading.Tasks.Task<int> ReceiveAsync (byte[] buffer, int offset, int count);
abstract member ReceiveAsync : byte[] * int * int -> System.Threading.Tasks.Task<int>
override this.ReceiveAsync : byte[] * int * int -> System.Threading.Tasks.Task<int>
Public Function ReceiveAsync (buffer As Byte(), offset As Integer, count As Integer) As Task(Of Integer)

Parameters

buffer
Byte[]

A buffer to receive data into.

offset
Int32

The location within the buffer to begin writing.

count
Int32

The maximum amount of bytes to write to the buffer.

Returns

Task<Int32>

The number of bytes written to the buffer.

Implements

Applies to