TransactionEventManager.Add Method (Guid, Delegate)
Adds an event handler delegate for global event notifications.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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.GuidThe ID of the transaction.
handler
Type: System.DelegateThe 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.