Compartilhar via


AccountPickerOptions Constructors

Definition

Overloads

AccountPickerOptions(IntPtr, String)

Initializes a new instance of the options used to create an account picker.

AccountPickerOptions(Window, String)

Initializes a new instance of the options used to create an account picker.

AccountPickerOptions(IntPtr, String)

Initializes a new instance of the options used to create an account picker.

public:
 AccountPickerOptions(IntPtr parentWindow, System::String ^ hostId);
public AccountPickerOptions (IntPtr parentWindow, string hostId);
new Microsoft.VisualStudio.Shell.AccountPickerOptions : nativeint * string -> Microsoft.VisualStudio.Shell.AccountPickerOptions
Public Sub New (parentWindow As IntPtr, hostId As String)

Parameters

parentWindow
IntPtr

nativeint

The window hosting the account picker.

hostId
String

A unique identifier for this host, usually the package guid, that will be used when reporting telemetry.

Exceptions

If hostId is an empty string.

If parentWindow or hostId is null.

Applies to

AccountPickerOptions(Window, String)

Initializes a new instance of the options used to create an account picker.

public:
 AccountPickerOptions(System::Windows::Window ^ parentWindow, System::String ^ hostId);
public AccountPickerOptions (System.Windows.Window parentWindow, string hostId);
new Microsoft.VisualStudio.Shell.AccountPickerOptions : System.Windows.Window * string -> Microsoft.VisualStudio.Shell.AccountPickerOptions
Public Sub New (parentWindow As Window, hostId As String)

Parameters

parentWindow
Window

The window hosting the account picker.

hostId
String

A unique identifier for this host, usually the package guid, that will be used when reporting telemetry.

Exceptions

If hostId is an empty string.

If parentWindow or hostId is null.

Applies to