次の方法で共有


DesktopExtensions.WithDesktopFeatures(PublicClientApplicationBuilder) Method

Definition

Caution

Use WithWindowsDesktopFeatures instead. For broker support only, use WithBroker(BrokerOptions) from Microsoft.Identity.Client.Broker package.

Adds enhanced support for desktop applications, e.g. CLI, WinForms, WPF apps.

Support added is around:

[System.Obsolete("Use WithWindowsDesktopFeatures instead. For broker support only, use  WithBroker(BrokerOptions) from Microsoft.Identity.Client.Broker package.", false)]
public static Microsoft.Identity.Client.PublicClientApplicationBuilder WithDesktopFeatures (this Microsoft.Identity.Client.PublicClientApplicationBuilder builder);
[<System.Obsolete("Use WithWindowsDesktopFeatures instead. For broker support only, use  WithBroker(BrokerOptions) from Microsoft.Identity.Client.Broker package.", false)>]
static member WithDesktopFeatures : Microsoft.Identity.Client.PublicClientApplicationBuilder -> Microsoft.Identity.Client.PublicClientApplicationBuilder
<Extension()>
Public Function WithDesktopFeatures (builder As PublicClientApplicationBuilder) As PublicClientApplicationBuilder

Parameters

Returns

Attributes

Remarks

These extensions live in a separate package to avoid adding dependencies to MSAL

Applies to