共用方式為


TransactionEventManager.Add(Guid, Delegate) Method

Definition

Add an event handler for events on a particular transaction.

public:
 void Add(Guid transactionId, Delegate ^ handler);
public void Add (Guid transactionId, Delegate handler);
override this.Add : Guid * Delegate -> unit
Public Sub Add (transactionId As Guid, handler As Delegate)

Parameters

transactionId
Guid

The Id of the transaction

handler
Delegate

The event handler delegate

Applies to