Export (0) Print
Expand All

Application Methods

The Application type exposes the following members.

  NameDescription
Public method Static member AddMessageFilter Adds a message filter to monitor Windows messages as they are routed to their destinations.
Public method Static member Supported by the .NET Compact Framework DoEvents Processes all Windows messages currently in the message queue.
Public method Static member EnableVisualStyles Enables visual styles for the application.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member Supported by the .NET Compact Framework Exit Overloaded. Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed.
Public method Static member ExitThread Exits the message loop on the current thread and closes all windows on the thread.
Public method Static member FilterMessage Runs any filters against a window message, and returns a copy of the modified message.
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member OleRequired Initializes OLE on the current thread.
Public method Static member OnThreadException Raises the ThreadException event.
Public method Static member RaiseIdle Raises the Idle event in hosted scenarios.
Public method Static member RegisterMessageLoop Registers a callback for checking whether the message loop is running in hosted environments.
Public method Static member RemoveMessageFilter Removes a message filter from the message pump of the application.
Public method Static member Restart Shuts down the application and starts a new instance immediately.
Public method Static member Supported by the .NET Compact Framework Run Overloaded. Begins running a standard application message loop on the current thread.
Public method Static member SetCompatibleTextRenderingDefault Sets the application-wide default for the UseCompatibleTextRendering property defined on certain controls.
Public method Static member SetSuspendState Suspends or hibernates the system, or requests that the system be suspended or hibernated.
Public method Static member SetUnhandledExceptionMode Overloaded. Instructs the application how to respond to unhandled exceptions.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Static member UnregisterMessageLoop Unregisters the message loop callback made with RegisterMessageLoop.
Top

Community Additions

ADD
Show:
© 2014 Microsoft