WindowsFormsApplicationBase Konstruktoren
Definition
Initialisiert eine neue Instanz der WindowsFormsApplicationBase-Klasse.Initializes a new instance of the WindowsFormsApplicationBase class.
Überlädt
WindowsFormsApplicationBase() |
Initialisiert eine neue Instanz der WindowsFormsApplicationBase-Klasse.Initializes a new instance of the WindowsFormsApplicationBase class. |
WindowsFormsApplicationBase(AuthenticationMode) |
Initialisiert eine neue Instanz der WindowsFormsApplicationBase-Klasse mit dem angegebenen Authentifizierungsmodus.Initializes a new instance of the WindowsFormsApplicationBase class with the specified authentication mode. |
WindowsFormsApplicationBase()
Initialisiert eine neue Instanz der WindowsFormsApplicationBase-Klasse.Initializes a new instance of the WindowsFormsApplicationBase class.
public:
WindowsFormsApplicationBase();
public WindowsFormsApplicationBase ();
Public Sub New ()
Siehe auch
Gilt für:
WindowsFormsApplicationBase(AuthenticationMode)
Initialisiert eine neue Instanz der WindowsFormsApplicationBase-Klasse mit dem angegebenen Authentifizierungsmodus.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)
Parameter
- authenticationMode
- AuthenticationMode
Einer der Enumerationswerte, der die Authentifizierungsmethode der Anwendung angibt.One of the enumeration values that specifies the application's authentication mode.
Hinweise
Wenn der authenticationMode
-Parameter der Windows -Enumerationswert ist, versucht dieser Konstruktor, die-Eigenschaft des aktuellen Threads CurrentPrincipal auf die WindowsPrincipal für den aktuellen Benutzer festzulegen.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.
Wenn der authenticationMode
-Parameter der ApplicationDefined -Enumerationswert ist, lässt dieser Konstruktor die-Eigenschaft des aktuellen Threads CurrentPrincipal unverändert.If the authenticationMode
parameter is the ApplicationDefined enumeration value, then this constructor leaves the current thread's CurrentPrincipal property unchanged.