Registering Asynchronous Events

Registering Asynchronous Events

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The EventSampleVB.exe program can be used to create an event registration item for asynchronous events.

To register an asynchronous event

  1. In the Folder URL box, enter a valid folder URL.
  2. In the Registration Name box, enter a name for the registration item.
  3. In the Method(s) box, enter OnSave, or OnDelete, or OnSave;OnDelete.
  4. In the Sink Class box, enter the name of the COM+ component that holds the asynchronous event sink(s) to be registered.
  5. Click Create Asynchronous Event Registration. To set one or all of the optional properties, use the following procedure.

To set the optional properties

  1. In the Criteria box, enter a valid Structured Query Language (SQL) WHERE Clause. This field is optional.

    Note   The Criteria field is not supported with the asynchronous OnDelete event.

  2. Enter a decimal number priority ranging from 0 (highest) to 2147483647 (lowest). This field is optional; 65535 is the default priority.

  3. In the Scope box, enter a scope of Deep or Exact. This field is optional; the default is Deep.

  4. Click Create Asynchronous Event Registration.

The following figure shows how the asynchronous OnSave event might be registered using the sample event sinks.

The screen shot shows the sample application with 'OnSave' specified in the Method(s) field.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.