TransactionEventManager.Add Method (Guid, Delegate)
Adds an event handler delegate for global event notifications.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Sub Add ( _
transactionId As Guid, _
handler As Delegate _
)
public void Add(
Guid transactionId,
Delegate handler
)
public:
void Add(
Guid transactionId,
Delegate^ handler
)
member Add :
transactionId:Guid *
handler:Delegate -> unit
public function Add(
transactionId : Guid,
handler : Delegate
)
Parameters
- transactionId
Type: System.Guid
The ID of the transaction.
- handler
Type: System.Delegate
The event handler delegate.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.