Share via


UdpAnySourceMulticastClient.EndSendTo(IAsyncResult) Metodo

Definizione

Attenzione

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Completa l'operazione di invio di un pacchetto unicast alla destinazione specificata.

public:
 void EndSendTo(IAsyncResult ^ result);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public void EndSendTo (IAsyncResult result);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.EndSendTo : IAsyncResult -> unit
Public Sub EndSendTo (result As IAsyncResult)

Parametri

result
IAsyncResult

Risultato dell'operazione di invio asincrona.

Attributi

Eccezioni

result è un riferimento null (Nothing in Visual Basic).

Il gruppo multicast non è ancora stato unito.

L'interfaccia UdpAnySourceMulticastClient è stata eliminata.

Si è verificato un errore durante il tentativo di accesso al socket.

Commenti

Il EndSendTo metodo completa un'operazione asincrona per inviare un pacchetto all'indirizzo di destinazione specificato.

Se si verifica un errore del socket durante l'esecuzione dell'operazione di ricezione, viene generata un'eccezione SocketException . L'errore ricevuto viene specificato come membro dell'enumerazione SocketError .

Si applica a