Share via


MessageInterceptor Constructor (String, Boolean)

3/29/2010

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.

Namespace: Microsoft.WindowsMobile.PocketOutlook.MessageInterception
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public MessageInterceptor (
    string applicationLaunchId,
    bool useFormThread
)
'Declaration
Public Sub New ( _
    applicationLaunchId As String, _
    useFormThread As Boolean _
)

Parameters

  • applicationLaunchId
    Unique identifier for the MessageInterceptor.
  • useFormThread
    Use the application's form thread to process events. You need to use this to manipulate UI from within an event. If your application does not contain a form, then this should be set to false.

Remarks

Loads an existing MessageInterceptor. If there is no MessageInterceptor by that name, then an ApplicationLauncherEnableException exception is raised.

See Also

Reference

MessageInterceptor Class
MessageInterceptor Members
Microsoft.WindowsMobile.PocketOutlook.MessageInterception Namespace