Raises an event when an arriving SMS message satisfies the interception rule condition.
| C# | Visual Basic |
public sealed class MessageInterceptor : IDisposable, IApplicationLauncher
Public NotInheritable Class MessageInterceptor _ Implements IDisposable, IApplicationLauncher
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| MessageInterceptor()()()() |
Initializes an instance of the MessageInterceptor class.
| |
| MessageInterceptor(InterceptionAction) |
Initializes an instance of the MessageInterceptor class, using the specified interception action.
| |
| MessageInterceptor(String) |
Initializes an instance of the MessageInterceptor class, using the specified applicationLaunchId.
| |
| MessageInterceptor(InterceptionAction, Boolean) |
Initializes an instance of the MessageInterceptor class, using the specified interception action, and a value indicating whether to use the application's form thread to process events.
| |
| MessageInterceptor(String, Boolean) |
Initializes an instance of the MessageInterceptor class, using the specified applicationLaunchId, and a value indicating whether to use the application's form thread to process events.
| |
| 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.
| |
| CleanRules()()()() |
Removes any rules from the registry which are no longer in use.
| |
| 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()()()() |
Disposes a MessageInterceptor.
| |
| 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 MessageReceived 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()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources, and performs other cleanup operations before garbage collection is performed.
(Overrides Object.Finalize()()()().) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InterceptionAction |
Gets or sets the action performed on the intercepted SMS message.
| |
| 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.) | |
| MessageCondition |
Gets or sets a value indicating the condition an arriving SMS message must satisfy to be intercepted.
| |
| MessageReceived |
Occurs when an arriving SMS message satisfies the interception rule condition.
| |
| ToString()()()() | (Inherited from Object.) |
When defining an instance of MessageInterceptor that is going to handle the MessageReceived event, make sure that the instance is defined globally in the class where the event will be handled.
If it is defined in a method, it will be up for garbage collection after it goes out of scope.
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Object | |
| MessageInterceptor | |