UA Bundle SDK .NET  2.2.3.276
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaServer.EventTransactionHandle Class Reference

A transaction for one or more requests for a single IEventManager. More...

Inherits UnifiedAutomation.UaServer.TransactionHandle.

Public Member Functions

 EventTransactionHandle (RequestContext context, TransactionType transactionType, Delegate callback, object callbackData)
 Initializes a new instance of the EventTransactionHandle class. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaServer.TransactionHandle
 TransactionHandle (RequestContext context, TransactionType transactionType, Delegate callback, object callbackData)
 Initializes a new instance of the TransactionHandle class. More...
 
void Add< T > (T parameter)
 Adds the specified parameter to the list associated with the type. More...
 
List< T > GetList< T > ()
 Gets the list of parameters with the specified type. More...
 

Properties

bool HasItems [get]
 Gets a value indicating whether this transaction has items. More...
 
List< NotifierOperationHandleNotifierHandles [get]
 The notifier handles used in the transaction (empty if the transaction operates on item handles). More...
 
List
< MonitoredItemOperationHandle
ItemHandles [get]
 The monitored item handles used in the transaction (empty if the transaction operates on notifier handles). More...
 
- Properties inherited from UnifiedAutomation.UaServer.TransactionHandle
RequestContext Context [get, set]
 Gets the request context. More...
 
TransactionType TransactionType [get, set]
 Gets the type of the transaction. More...
 
Delegate Callback [get, set]
 The callback invoked whenever an operation within a transaction completes. More...
 
object CallbackData [get, set]
 Gets the opaque data associated with the transaction by creator. More...
 
bool Done [get, set]
 Gets or sets a value indicating whether the transaction is done. More...
 
uint ExpectedItemCount [get, set]
 Gets or sets the total item count hint. More...
 

Detailed Description

A transaction for one or more requests for a single IEventManager.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.EventTransactionHandle.EventTransactionHandle ( RequestContext  context,
TransactionType  transactionType,
Delegate  callback,
object  callbackData 
)
inline

Initializes a new instance of the EventTransactionHandle class.

Parameters
contextThe request context.
transactionTypeType of the transaction.
callbackThe callback.
callbackDataThe callback data.

Property Documentation

bool UnifiedAutomation.UaServer.EventTransactionHandle.HasItems
get

Gets a value indicating whether this transaction has items.

true if this transaction has items; otherwise, false.

List<MonitoredItemOperationHandle> UnifiedAutomation.UaServer.EventTransactionHandle.ItemHandles
get

The monitored item handles used in the transaction (empty if the transaction operates on notifier handles).

List<NotifierOperationHandle> UnifiedAutomation.UaServer.EventTransactionHandle.NotifierHandles
get

The notifier handles used in the transaction (empty if the transaction operates on item handles).


The documentation for this class was generated from the following file: