Export (0) Print
Expand All
3 out of 3 rated this helpful - Rate this topic

Microsoft.VisualBasic.ApplicationServices Namespace

Note: This namespace is new in the .NET Framework version 2.0.

The Microsoft.VisualBasic.ApplicationServices namespace contains types that support the Visual Basic Application Model and provide access to application information.

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

 ClassDescription
Public classApplicationBaseProvides properties, methods, and events related to the current application.
Public classAssemblyInfoProvides properties for getting the information about the application, such as the version number, description, loaded assemblies, and so on.
Public classBuiltInRoleConverterProvides a type converter to convert BuiltInRole enumeration values to WindowsBuiltInRole enumeration values.
Public classCantStartSingleInstanceExceptionThis exception is thrown when a subsequent instance of a single-instance application is unable to connect to the first application instance.
Public classConsoleApplicationBaseProvides properties, methods, and events related to the current application.
Public classNoStartupFormExceptionThis exception is thrown by the Visual Basic Application Model when the MainForm property has not been set.
Public classStartupEventArgsProvides data for the My.Application.Startup event.
Public classStartupNextInstanceEventArgsProvides data for the My.Application.StartupNextInstance event.
Public classUnhandledExceptionEventArgsProvides data for the My.Application.UnhandledException event.
Public classUserProvides access to the information about the current user.
Public classWebUserProvides access to the information about the current user.
Public classWindowsFormsApplicationBaseProvides properties, methods, and events related to the current application.
 DelegateDescription
Public delegateShutdownEventHandlerRepresents the method that will handle the My.Application.Shutdown event.
Public delegateStartupEventHandlerRepresents the method that will handle the My.Application.Startup event.
Public delegateStartupNextInstanceEventHandlerRepresents the method that will handle the My.Application.StartupNextInstance event.
Public delegateUnhandledExceptionEventHandlerRepresents the method that will handle the My.Application.UnhandledException event.
 EnumerationDescription
Public enumerationAuthenticationModeIndicates how a Visual Basic application authenticates the user for the My.User object.
Public enumerationBuiltInRoleIndicates the type of role to check when calling the My.User.IsInRole Method.
Public enumerationShutdownModeIndicates which condition should cause a Windows Forms application to shut down.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.