A handle for a transaction.
More...
Inherited by UnifiedAutomation.UaServer.CallTransactionHandle, UnifiedAutomation.UaServer.DataTransactionHandle, UnifiedAutomation.UaServer.EventTransactionHandle, UnifiedAutomation.UaServer.HistoryDataTransactionHandle, and UnifiedAutomation.UaServer.HistoryEventTransactionHandle.
|
RequestContext | Context [get, set] |
| Gets the request context.
|
|
TransactionType | TransactionType [get, set] |
| Gets the type of the transaction.
|
|
Delegate | Callback [get, set] |
| The callback invoked whenever an operation within a transaction completes.
|
|
object | CallbackData [get, set] |
| Gets the opaque data associated with the transaction by creator.
|
|
bool | Done [get, set] |
| Gets or sets a value indicating whether the transaction is done.
|
|
uint | ExpectedItemCount [get, set] |
| Gets or sets the total item count hint.
|
|
A handle for a transaction.
UnifiedAutomation.UaServer.TransactionHandle.TransactionHandle |
( |
RequestContext |
context, |
|
|
TransactionType |
transactionType, |
|
|
Delegate |
callback, |
|
|
object |
callbackData |
|
) |
| |
Initializes a new instance of the TransactionHandle class.
- Parameters
-
context | The request context. |
transactionType | Type of the transaction. |
callback | The callback to use when an operation completes. |
callbackData | The callback data. |
void UnifiedAutomation.UaServer.TransactionHandle.Add< T > |
( |
T |
parameter | ) |
|
Adds the specified parameter to the list associated with the type.
- Template Parameters
-
- Parameters
-
This method is used to efficiently store parameters for multiple operations which can be processed as a batch.
List<T> UnifiedAutomation.UaServer.TransactionHandle.GetList< T > |
( |
| ) |
|
Gets the list of parameters with the specified type.
- Template Parameters
-
- Returns
- The list.
This method returns a reference to the list populated with the Add method.
Delegate UnifiedAutomation.UaServer.TransactionHandle.Callback |
|
getset |
The callback invoked whenever an operation within a transaction completes.
object UnifiedAutomation.UaServer.TransactionHandle.CallbackData |
|
getset |
Gets the opaque data associated with the transaction by creator.
Gets the request context.
bool UnifiedAutomation.UaServer.TransactionHandle.Done |
|
getset |
Gets or sets a value indicating whether the transaction is done.
uint UnifiedAutomation.UaServer.TransactionHandle.ExpectedItemCount |
|
getset |
Gets or sets the total item count hint.
TransactionType UnifiedAutomation.UaServer.TransactionHandle.TransactionType |
|
getset |
Gets the type of the transaction.
The type of the transaction.
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaServer/Handles/TransactionHandle.cs