Raises an event when custom menu item is selected.
| C# | Visual Basic |
public sealed class MenuExtension : IApplicationLauncher, IDisposable
Public NotInheritable Class MenuExtension _ Implements IApplicationLauncher, IDisposable
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| MenuExtension()()() |
Initialize a new instance of MenuExtension.
| |
| MenuExtension(String, ExtensibleMenu) |
Initialize a new instance of MenuExtension for the specified menus.
| |
| MenuExtension(String) |
Initialize a new instance of MenuExtension for the existing launch id.
| |
| ApplicationArguments |
Gets any optional parameters to pass to the intercepting application.
| |
| ApplicationLaunchId |
Gets the identifier of the intercepting application.
| |
| ApplicationToLaunch |
Gets the name of the intercepting application.
| |
| Click |
Raised when a custom menu item is clicked.
| |
| DisableApplicationLauncher()()() |
Disables an already enabled application from launching if an arriving SMS message satisfies the interception rule condition.
If your application is still running and consuming the MessageReceived event, then you will still receive the event.
| |
| Dispose()()() | Releases all resources used by the MenuExtension | |
| EnableApplicationLauncher(String) |
Enables your current application to be launched if it is not already running when a MessageReceived event is raised, using the string equivalent of the application identifier.
| |
| EnableApplicationLauncher(String, String) |
Enables the application specified in applicationFileName to be launched when a MessageReceived event is raised, using the string equivalent of the application identifier and its file name.
| |
| EnableApplicationLauncher(String, String, String) |
Enables the application specified in applicationFileName to be launched when a Click event is raised, using the string equivalent of the application identifier, its file name, and any agruments it might need.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsApplicationLauncherEnabled(String) |
Get a value indicating if a message interceptor application launcher with the given identifier has already been enabled.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Text |
Returns the display text of the menu extension.
| |
| ToString()()() | (Inherited from Object.) |
| Requirements | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Object | |
| MenuExtension | |