UdpSingleSourceMulticastClient.EndSendToSource(IAsyncResult) Metod

Definition

Varning

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

Slutför åtgärden att skicka ett unicast-paket till en enda källa.

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

Parametrar

result
IAsyncResult

Resultatet av den asynkrona sändningsåtgärden.

Attribut

Undantag

result är en nullreferens (inget i Visual Basic).

Multicast-gruppen har ännu inte anslutits.

Ett fel uppstod vid försök att komma åt socketen.

Kommentarer

Metoden EndSendToSource slutför en asynkron åtgärd för att skicka ett paket till en enda källa som tidigare angetts.

Om det uppstår ett socketfel när mottagningsåtgärden utförs utlöses en SocketException . Det mottagna felet anges som medlem i SocketError uppräkningen.

Gäller för