Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Application Class

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Application Methods

The Application type exposes the following members.

  NameDescription
Public methodStatic memberAddMessageFilterAdds a message filter to monitor Windows messages as they are routed to their destinations.
Public methodStatic memberSupported by the .NET Compact FrameworkDoEventsProcesses all Windows messages currently in the message queue.
Public methodStatic memberEnableVisualStylesEnables visual styles for the application.
Public methodSupported by the .NET Compact FrameworkEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact FrameworkExitOverloaded. Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed.
Public methodStatic memberExitThreadExits the message loop on the current thread and closes all windows on the thread.
Public methodStatic memberFilterMessageRuns any filters against a window message, and returns a copy of the modified message.
Protected methodSupported by the .NET Compact FrameworkFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberOleRequiredInitializes OLE on the current thread.
Public methodStatic memberOnThreadExceptionRaises the ThreadException event.
Public methodStatic memberRaiseIdleRaises the Idle event in hosted scenarios.
Public methodStatic memberRegisterMessageLoopRegisters a callback for checking whether the message loop is running in hosted environments.
Public methodStatic memberRemoveMessageFilterRemoves a message filter from the message pump of the application.
Public methodStatic memberRestartShuts down the application and starts a new instance immediately.
Public methodStatic memberSupported by the .NET Compact FrameworkRunOverloaded. Begins running a standard application message loop on the current thread.
Public methodStatic memberSetCompatibleTextRenderingDefaultSets the application-wide default for the UseCompatibleTextRendering property defined on certain controls.
Public methodStatic memberSetSuspendStateSuspends or hibernates the system, or requests that the system be suspended or hibernated.
Public methodStatic memberSetUnhandledExceptionModeOverloaded. Instructs the application how to respond to unhandled exceptions.
Public methodSupported by the .NET Compact FrameworkToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodStatic memberUnregisterMessageLoopUnregisters the message loop callback made with RegisterMessageLoop.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker