Jaa


WebViewControlPermissionState Enum

Definition

Defines constants that specify the state of a IWebViewControl.PermissionRequested event.

public enum class WebViewControlPermissionState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class WebViewControlPermissionState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum WebViewControlPermissionState
var value = Windows.Web.UI.WebViewControlPermissionState.unknown
Public Enum WebViewControlPermissionState
Inheritance
WebViewControlPermissionState
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
Unknown 0

The state of the permission request can't be determined.

Defer 1

WebViewPermissionRequest.Defer was called. The permission request is deferred.

Allow 2

WebViewPermissionRequest.Allow was called. The permission request is allowed.

Deny 3

WebViewPermissionRequest.Deny was called. The permission request is denied.

Applies to