UdpSingleSourceMulticastClient.EndJoinGroup(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 asynkron kopplingsgrupp till en multicast-grupp.

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

Parametrar

result
IAsyncResult

Resultatet av den asynkrona kopplingsåtgärden.

Attribut

Undantag

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

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

Kommentarer

Metoden EndJoinGroup slutför en asynkron bindning till en socket och kopplingsåtgärden till en multicast-grupp.

Om det krävs av körningen EndJoinGroup utför metoden också en principkontroll för att kontrollera att klienten har åtkomst till multicast-gruppen. Om klienten inte tillåts åtkomst genereras en SocketException med AccessDenied.

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

Gäller för