共用方式為


SystemWebViewOptions.OpenBrowserAsync Property

Definition

Allows developers to implement their own logic for starting a browser and navigating to a specific Uri. MSAL will use this when opening the browser. Leave it null and the user configured browser will be used. Consider using the static helpers OpenWithEdgeBrowserAsync and OpenWithChromeEdgeBrowserAsync

public Func<Uri,System.Threading.Tasks.Task> OpenBrowserAsync { get; set; }
member this.OpenBrowserAsync : Func<Uri, System.Threading.Tasks.Task> with get, set
Public Property OpenBrowserAsync As Func(Of Uri, Task)

Property Value

Applies to