Compartir a través de


CoreWebView2PermissionRequestedEventArgs.SavesInProfile Property

Definition

Set the SavesInProfile property to FALSE to not persist the state beyond the current request, and to continue to receive PermissionRequested events for this origin and permission kind.

public bool SavesInProfile { get; set; }
member this.SavesInProfile : bool with get, set
Public Property SavesInProfile As Boolean

Property Value

Remarks

The permission state set from the PermissionRequested event is saved in the profile by default; it is persisted across sessions and becomes the new default behavior for future PermissionRequested events. Browser heuristics can affect whether the event continues to be raised when the state is persisted.

Applies to