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

적용 대상