MessageWebSocket.SendNonfinalFrameAsync(IBuffer) メソッド

定義

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

public:
 virtual IAsyncOperationWithProgress<unsigned int, unsigned int> ^ SendNonfinalFrameAsync(IBuffer ^ data) = SendNonfinalFrameAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<uint32_t, uint32_t> SendNonfinalFrameAsync(IBuffer const& data);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<uint,uint> SendNonfinalFrameAsync(IBuffer data);
function sendNonfinalFrameAsync(data)
Public Function SendNonfinalFrameAsync (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

適用対象