Share via


AccountPickerOptions2 Constructors

Definition

Overloads

AccountPickerOptions2(IntPtr, String)

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

AccountPickerOptions2(Window, String)

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

AccountPickerOptions2(IntPtr, String)

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

public:
 AccountPickerOptions2(IntPtr parentWindow, System::String ^ hostId);
public AccountPickerOptions2 (IntPtr parentWindow, string hostId);
new Microsoft.VisualStudio.Shell.AccountPickerOptions2 : nativeint * string -> Microsoft.VisualStudio.Shell.AccountPickerOptions2
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

AccountPickerOptions2(Window, String)

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

public:
 AccountPickerOptions2(System::Windows::Window ^ parentWindow, System::String ^ hostId);
public AccountPickerOptions2 (System.Windows.Window parentWindow, string hostId);
new Microsoft.VisualStudio.Shell.AccountPickerOptions2 : System.Windows.Window * string -> Microsoft.VisualStudio.Shell.AccountPickerOptions2
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