Επεξεργασία

Κοινή χρήση μέσω


Microsoft.VisualBasic.ApplicationServices Namespace

Contains types that support the Visual Basic Application Model and provide access to application information.

Classes

ApplicationBase

Provides properties, methods, and events related to the current application.

ApplyApplicationDefaultsEventArgs

Provides context for the ApplyApplicationDefaults event.

AssemblyInfo

Provides properties for getting the information about the application, such as the version number, description, loaded assemblies, and so on.

BuiltInRoleConverter

Provides a type converter to convert BuiltInRole enumeration values to WindowsBuiltInRole enumeration values.

CantStartSingleInstanceException

This exception is thrown when a subsequent instance of a single-instance application is unable to connect to the first application instance.

ConsoleApplicationBase

Provides properties, methods, and events related to the current application.

NoStartupFormException

This exception is thrown by the Visual Basic Application Model when the MainForm property has not been set.

StartupEventArgs

Provides data for the My.Application.Startup event.

StartupNextInstanceEventArgs

Provides data for the My.Application.StartupNextInstance event.

UnhandledExceptionEventArgs

Provides data for the My.Application.UnhandledException event.

User

Provides access to the information about the current user.

WebUser

Provides access to the information about the current user.

WindowsFormsApplicationBase

Provides properties, methods, and events related to the current application.

Enums

AuthenticationMode

Indicates how a Visual Basic application authenticates the user for the My.User object.

BuiltInRole

Indicates the type of role to check when calling the IsInRole(BuiltInRole) method.

ShutdownMode

Indicates which condition should cause a Windows Forms application to shut down.

Delegates

ApplyApplicationDefaultsEventHandler

Represents the callback method that will handle the ApplyApplicationDefaults event.

ShutdownEventHandler

Represents the method that will handle the My.Application.Shutdown event.

StartupEventHandler

Represents the method that will handle the My.Application.Startup event.

StartupNextInstanceEventHandler

Represents the method that will handle the My.Application.StartupNextInstance event.

UnhandledExceptionEventHandler

Represents the method that will handle the My.Application.UnhandledException event.

Remarks

For more information about the Visual Basic Application Model, see Overview of the Visual Basic Application Model.

See also