Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Supports methods for writing entries in an application log.
Methods
Name | Description |
---|---|
Bind | Bind audit trail object to a process instance. |
AddEntry | Add entry to audit trail object. |
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.
The typical workflow developer does not create AuditTrail objects directly. Use the IWorkflowSession.AddAuditEntry method.