UdpSingleSourceMulticastClient.BeginJoinGroup Method (AsyncCallback, Object)
Binds the socket and begins a join operation to the multicast group to allow datagrams to be received from a single source address.
Assembly: System.Net (in System.Net.dll)
[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)] public IAsyncResult BeginJoinGroup( AsyncCallback callback, object state )
A callback method to invoke when the operation completes.
Optional state information to pass to the callback method for this operation.
The multicast group has already been joined or a join operation is currently in progress.
The UdpSingleSourceMulticastClient has been disposed.
An error occurred when attempting to access the socket. See the Remarks section for more information.
The M:System.Net.Sockets.UdpSingleSourceMulticastClient.BeginJoinGroup method binds a UDP multicast socket to a local port and joins a multicast group to allow datagrams to be received from a single source address. The multicast group address, single source address, and local port to bind to are specified in the M:System.Net.Sockets.UdpSingleSourceMulticastClient.#ctor(System.Net.IPAddress,System.Int32) constructor.
The method specified in the callback parameter is invoked when the operation to join the multicast group has completed.
Available since 4.5
Available since 4.0
Windows Phone Silverlight
Available since 7.1