MessageWebSocket.SendFinalFrameAsync(IBuffer) メソッド

定義

非同期 (進行状況あり) では、データのフレームがシーケンシャル ストリームに書き込まれます。このセマンティクスは、これが WebSocket メッセージの最後のフレームであることを意味します (このフレームの FIN ビットは 1 に設定されます)。 このメソッドと SendNonfinalFrameAsync を使用すると、個々の WebSocket フレームを送信できます。

public:
 virtual IAsyncOperationWithProgress<unsigned int, unsigned int> ^ SendFinalFrameAsync(IBuffer ^ data) = SendFinalFrameAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<uint32_t, uint32_t> SendFinalFrameAsync(IBuffer const& data);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<uint,uint> SendFinalFrameAsync(IBuffer data);
function sendFinalFrameAsync(data)
Public Function SendFinalFrameAsync (data As IBuffer) As IAsyncOperationWithProgress(Of UInteger, UInteger)

パラメーター

data
IBuffer

送信するフレームを構成するデータを含むバッファー。

戻り値

IAsyncOperationWithProgress<UInt32,UInt32>

Windows.Foundation.IAsyncOperationWithProgress<unsigned int,unsigned int>

IAsyncOperationWithProgress<uint32_t,uint32_t>

進行状況を含む非同期バイト ライター操作。

属性

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)
アプリの機能
internetClientServer privateNetworkClientServer

適用対象