BeginCaptureSnapshot(CancellationToken) Method

Definition

Assembly NativeWebView.dll

Begins an embedded snapshot and exposes when native capture registration is complete.

public NativeWebViewSnapshotCapture BeginCaptureSnapshot(CancellationToken cancellationToken = default(CancellationToken))

Parameters

cancellationToken
CancellationToken

Returns

Remarks

The registration milestone allows native-airspace hosts to hide the embedded surface only after the platform has accepted the capture request. Unsupported and failed captures complete with null.