Aracılığıyla paylaş


CoreWebView2ChannelSearchKind Enum

Definition

The channel search kind determines the order that release channels are searched for during environment creation. The default behavior is to search for and use the most stable channel found on the device. The order from most to least stable is: WebView2 Runtime -> Beta -> Dev -> Canary. Switch the order to prefer the least stable channel in order to perform pre-release testing. See COREWEBVIEW2_RELEASE_CHANNELS for descriptions of channels.

public enum CoreWebView2ChannelSearchKind
type CoreWebView2ChannelSearchKind = 
Public Enum CoreWebView2ChannelSearchKind
Inheritance
CoreWebView2ChannelSearchKind

Fields

Name Value Description
MostStable 0

Search for a release channel from most to least stable: WebView2 Runtime -> Beta -> Dev -> Canary. This is the default behavior.

LeastStable 1

Search for a release channel from least to most stable: Canary -> Dev -> Beta -> WebView2 Runtime.

Remarks

The default behavior is to search for and use the most stable channel found on the device. The order from most to least stable is: WebView2 Runtime -> Beta -> Dev -> Canary. Switch the order to prefer the least stable channel in order to perform pre-release testing. See CoreWebView2ReleaseChannels for descriptions of channels.

Applies to