Notification Sample Application

Notification Sample Application

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.

Notifications are used in many systems for performing event-based processing. Event-based processing is useful in a Web-based document storage environment because it allows a client to perform actions based on changes in the state of the server. If the server is mail-enabled, these notifications may be used to inform the client of the arrival of new mail or changes to a resource. For more information about notifications, see WebDAV Notifications. For more information about notification types, see Notification-Type Header.

Notification Sample Application Components

The Notification Sample Application uses the WebDAV protocol to subscribe to new mail, delete, and update events in a public or mailbox folder in the Exchange store. The Notification Sample Application consists of a Microsoft® Visual Basic® .NET user interface and a Microsoft C# class library. The C# class library provides a code wrapper for the SUBSCRIBE Method, the POLL Method, and the UNSUBSCRIBE Method, and can be used to create a subscription on a collection or resource in an Exchange store. The Visual Basic .NET user interface uses the C# class library to subscribe to a resource in an Exchange store and poll the Microsoft Exchange server for event notifications. The Notification Sample Application can be used on a computer that is not running Exchange Server 2003. It must be used on a computer that has the Microsoft .NET Framework installed.

Note  This sample application is intended for instructional purposes and is not meant to be installed in a production environment.

The following topics provide more information about the Notification Sample Application.

Navigating the Notification Sample Application Source Code

Setting Up the Notification Sample Application

Using the Notification Sample Application

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.