UdpAnySourceMulticastClient.EndSendTo(IAsyncResult) Methode

Definition

Achtung

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

Schließt den Vorgang des Sendens eines Unicast-Pakets an das angegebene Ziel ab.

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)

Parameter

result
IAsyncResult

Das Ergebnis des asynchronen Sendevorgangs.

Attribute

Ausnahmen

result ist ein Nullverweis (Nichts in Visual Basic).

Der Multicast-Gruppe wurde noch nicht beigetreten.

Beim Versuch, auf den Socket zuzugreifen, ist ein Fehler aufgetreten.

Hinweise

Die EndSendTo Methode schließt einen asynchronen Vorgang ab, um ein Paket an die angegebene Zieladresse zu senden.

Wenn beim Ausführen des Empfangsvorgangs ein Socketfehler auftritt, wird ein SocketException Fehler ausgelöst. Der empfangene Fehler wird als Element der SocketError Enumeration angegeben.

Gilt für: