Lingua

ITransportSender.SendAsync(Byte[], Int32, Int32) Metodo

Definizione

Chiamato per inviare dati al trasporto via cavo.

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

Parametri

buffer
Byte[]

Un buffer di dati da scrivere nel trasporto via filo.

offset
Int32

La posizione all'interno del buffer per iniziare la lettura.

count
Int32

Il numero di byte da scrivere nel trasporto via filo.

Valori restituiti

Il numero di byte scritti nel trasporto via filo.

Si applica a