DtcEventRegistrar Class

The DtcEventRegistrar class is a static class you use to specify how to handle event logging when a transaction is promoted to a distributed transaction.

Methods

Name

Return Value

Description

DisableDistributedTransactionLogging

void

Turn off the logging of DTC promotions so that they occur silently.

EnableDistributedTransactionLogging

void

Turn on the logging of DTC promotions so that they are added to the event log.

Remarks

You use the class to disable or enable the event handler associated with logging a warning message when a transaction is promoted to a distributed transaction.