Share via


IVsAccountManagementService.CreateWpfAccountPickerAsync Method

Definition

Creates a Windows Presentation Foundation account picker.

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Shell::IWpfAccountPicker ^> ^ CreateWpfAccountPickerAsync(Microsoft::VisualStudio::Shell::AccountPickerOptions ^ options);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.IWpfAccountPicker> CreateWpfAccountPickerAsync (Microsoft.VisualStudio.Shell.AccountPickerOptions options);
abstract member CreateWpfAccountPickerAsync : Microsoft.VisualStudio.Shell.AccountPickerOptions -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.IWpfAccountPicker>
Public Function CreateWpfAccountPickerAsync (options As AccountPickerOptions) As Task(Of IWpfAccountPicker)

Parameters

options
AccountPickerOptions

The options used to create an account picker.

Returns

An async task to obtain an IWpfAccountPicker instance.

Exceptions

If options is null.

Applies to