Platform SDK: Exchange 2000 Server

IAuditTrail Interface

[This is preliminary documentation and subject to change.]

Supports methods for writing entries in an application log.

IID
CD001102-8B95-11D1-82DB-00C04FB1625D
Extends
IDispatch

Member Summary

Methods

Name Description
Bind Bind audit trail object to a process instance.
AddEntry Add entry to audit trail object.

Remarks

The workflow engine uses the object implementing the IAuditTrail interface in case of errors during a state transition. Similarly, the engine uses the implementation when it gets any unhandled exception during an asynchronous event.

This interface needs to be implemented by any audit trail provider used by workflow. The IProcessDefinition interface has an AuditTrailProvider property that contains the ProgID of your audit trail provider. You can use one of the audit trail providers that come with CDO for Microsoft Exchange--AuditTrailEventLog, AuditTrailPropPI, and AuditTrailPropWF. You can also write your own audit trail provider by implementing this interface.

Example

The typical workflow developer does not create AuditTrail objects directly. Use the IWorkflowSession.AddAuditEntry method.

See Also

AuditTrailEventLog

AuditTrailPropPI

AuditTrailPropWF

IProcessDefinition