Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
3/29/2010

Initializes an instance of the MessageInterceptor class, using the specified interception action.

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

Syntax

Remarks

When you use this constructor overload to create a new instance of the MessageInterceptor class, the associated MessageConditionwill be null. To work around this, create a new MessageCondition object in a second step. See the following code example for clarification.


Example

Copy Code
MessageInterceptor mi = new
MessageInterceptor(InterceptionAction.Notify);
mi.MessageCondition = new MessageCondition();
mi.MessageCondition.ComparisonValue = "review";

See Also