Edit

Share via


WindowsFormsApplicationBase Constructors

Definition

Initializes a new instance of the WindowsFormsApplicationBase class.

Overloads

WindowsFormsApplicationBase()

Initializes a new instance of the WindowsFormsApplicationBase class.

WindowsFormsApplicationBase(AuthenticationMode)

Initializes a new instance of the WindowsFormsApplicationBase class with the specified authentication mode.

WindowsFormsApplicationBase()

Source:
WindowsFormsApplicationBase.vb
Source:
WindowsFormsApplicationBase.vb
Source:
WindowsFormsApplicationBase.vb

Initializes a new instance of the WindowsFormsApplicationBase class.

public:
 WindowsFormsApplicationBase();
public WindowsFormsApplicationBase ();
Public Sub New ()

See also

Applies to

WindowsFormsApplicationBase(AuthenticationMode)

Source:
WindowsFormsApplicationBase.vb
Source:
WindowsFormsApplicationBase.vb
Source:
WindowsFormsApplicationBase.vb

Initializes a new instance of the WindowsFormsApplicationBase class with the specified authentication mode.

public:
 WindowsFormsApplicationBase(Microsoft::VisualBasic::ApplicationServices::AuthenticationMode authenticationMode);
public WindowsFormsApplicationBase (Microsoft.VisualBasic.ApplicationServices.AuthenticationMode authenticationMode);
new Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase : Microsoft.VisualBasic.ApplicationServices.AuthenticationMode -> Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase
Public Sub New (authenticationMode As AuthenticationMode)

Parameters

authenticationMode
AuthenticationMode

One of the enumeration values that specifies the application's authentication mode.

Remarks

If the authenticationMode parameter is the Windows enumeration value, then this constructor attempts to set the current thread's CurrentPrincipal property to the WindowsPrincipal for the current user.

If the authenticationMode parameter is the ApplicationDefined enumeration value, then this constructor leaves the current thread's CurrentPrincipal property unchanged.

See also

Applies to