UdpAnySourceMulticastClient.EndReceiveFromGroup メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
参加済みマルチキャスト グループからパケットを受信する非同期操作を完了し、受信した情報を提供します。
public:
int EndReceiveFromGroup(IAsyncResult ^ result, [Runtime::InteropServices::Out] System::Net::IPEndPoint ^ % source);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public int EndReceiveFromGroup(IAsyncResult result, out System.Net.IPEndPoint source);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.EndReceiveFromGroup : IAsyncResult * IPEndPoint -> int
Public Function EndReceiveFromGroup (result As IAsyncResult, ByRef source As IPEndPoint) As Integer
パラメーター
- result
- IAsyncResult
非同期受信操作の結果。
- source
- IPEndPoint
パケットの受信元のソース エンドポイント。
返品
BeginReceiveFromGroup(Byte[], Int32, Int32, AsyncCallback, Object) メソッドに渡されるバッファー パラメーターに格納されているメッセージの長さ (バイト単位)。
- 属性
例外
result は null 参照です (Visual Basicでは Nothing)。
マルチキャスト グループはまだ参加していません。
ソケットにアクセスしようとしたときにエラーが発生しました。
注釈
EndReceiveFromGroup メソッドは、マルチキャスト グループからパケットを受信する非同期操作を完了します。
受信操作の実行中にソケットエラーが発生した場合は、 SocketException がスローされます。 受信したエラーは、 SocketError 列挙体のメンバーとして指定されます。