Bagikan melalui


UdpAnySourceMulticastClient.EndSendToGroup(IAsyncResult) Metode

Definisi

Perhatian

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

Menyelesaikan operasi pengiriman paket ke grup multicast.

public:
 void EndSendToGroup(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 EndSendToGroup (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.EndSendToGroup : IAsyncResult -> unit
Public Sub EndSendToGroup (result As IAsyncResult)

Parameter

result
IAsyncResult

Hasil dari operasi pengiriman asinkron.

Atribut

Pengecualian

result adalah referensi null (Tidak ada di Visual Basic).

Grup multicast belum bergabung.

Terjadi kesalahan saat mencoba mengakses soket.

Keterangan

Metode EndSendToGroup ini menyelesaikan operasi asinkron untuk mengirim paket ke grup multicast.

Jika ada kegagalan soket saat melakukan operasi terima, SocketException akan dilemparkan. Kesalahan yang diterima ditentukan sebagai anggota SocketError enumerasi.

Berlaku untuk