Any Source Multicast Client. Unblock Source(IPAddress) 方法
此 API 現已淘汰。
public: void UnblockSource(System::Net::IPAddress ^ sourceAddress);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)] public void UnblockSource (System.Net.IPAddress sourceAddress);
member this.UnblockSource : System.Net.IPAddress -> unit
Public Sub UnblockSource (sourceAddress As IPAddress)
要解除封鎖之來源的位址。The address of the source to unblock.
尚未聯結多點傳送群組。The multicast group has not yet been joined.
嘗試存取通訊端時發生錯誤。An error occurred when attempting to access the socket.
UnblockSource方法會解除封鎖源自指定來源位址的多播封包，以便接收。The UnblockSource method unblocks multicast packets originating from a specified source address so they can be received. 指定的來源位址必須先前已被BlockSource方法的呼叫封鎖。The specified source address must have previously been blocked by a call to the BlockSource method.
用戶端必須已完成加入多播群組的作業。The client must have completed a join to the multicast group.
sourceAddress參數可以是 IPv6 或 IPv4 多播位址。The
sourceAddress parameter may be either an IPv6 or IPv4 multicast address.
sourceAddress參數中指定的來源位址先前未被BlockSource方法的呼叫封鎖AddressNotAvailable， SocketException則會擲回。If the specified source address in the
sourceAddress parameter was not previously blocked by a call to the BlockSource method, a SocketException is thrown with AddressNotAvailable.
如果在執行解除封鎖來源作業時發生通訊端失敗， SocketException則會擲回。If there is a socket failure while performing the unblock source operation, a SocketException is thrown. 收到的錯誤會指定為SocketError列舉的成員。The error received is specified as a member of the SocketError enumeration.