UdpSingleSourceMulticastClient.EndSendToSource(IAsyncResult) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
完成將單播封包傳送至單一來源的操作。
public:
void EndSendToSource(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 EndSendToSource(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.EndSendToSource : IAsyncResult -> unit
Public Sub EndSendToSource (result As IAsyncResult)
參數
- result
- IAsyncResult
這是非同步傳送操作的結果。
- 屬性
例外狀況
result 是空參考(Visual Basic 中無任何參考)。
多播團隊尚未加入。
嘗試存取該套接字時發生錯誤。
備註
此 EndSendToSource 方法完成非同步操作,將封包傳送至先前指定的單一來源。
若執行接收操作時套接字故障,會拋出 a SocketException 。 接收到的錯誤會被指定為列舉的成員 SocketError 。