UdpAnySourceMulticastClient.UnblockSource(IPAddress) 메서드

정의

주의

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

해당 소스에서 발생하는 멀티캐스트 패킷을 받을 수 있도록 이전에 BlockSource(IPAddress) 메서드 호출에서 차단된 소스의 차단을 해제합니다.

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);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.UnblockSource : System.Net.IPAddress -> unit
Public Sub UnblockSource (sourceAddress As IPAddress)

매개 변수

sourceAddress
IPAddress

차단 해제할 소스의 주소입니다.

특성

예외

멀티캐스트 그룹이 아직 조인되지 않았습니다.

소켓에 액세스하는 동안 오류가 발생했습니다.

설명

UnblockSource 메서드 멀티 캐스트 패킷을 받을 수 있도록 지정 된 원본 주소에서 시작 된 차단 해제 합니다. 지정된 된 원본 주소 해야 이전에 차단 된 호출을 통해는 BlockSource 메서드.

클라이언트가 멀티 캐스트 그룹에 조인을 완료 해야 합니다.

sourceAddress 매개 변수는 IPv6 또는 IPv4 멀티 캐스트 수 주소입니다.

지정 된 원본 주소 경우는 sourceAddress 매개 변수를 호출 하 여 이전에 차단 된 되지 합니다 BlockSource 메서드를를 SocketException 이 throw 됩니다 AddressNotAvailable합니다.

차단 해제 소스 작업을 수행 하는 동안 소켓 오류가 발생 하는 경우는 SocketException throw 됩니다. 구성원으로 지정 된 오류가 SocketError 열거형입니다.

적용 대상