NamedPipeTransport.ReceiveAsync(Byte[], Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The number of bytes written to the buffer.