gOPCUAConnector.gGetAsyncOperations Method

Top  Previous  Next

Description

Gives infromation about current asynchronous operations at that moment.

 

VB syntax

gOPCUAConnector.gGetAsyncOperations()

 

C# syntax

gOPCUAConnector.gGetAsyncOperations()

 

Return Type

gAsyncOperations

 

C# code example

  foreach (gAsyncOperation operation in gOPCUAConnector1.gGetAsyncOperations())

            {

                gAsyncOperationType type = operation.AsyncOperationType;

                string transactionId = operation.TransactionID;

 

                foreach (gOPCUAReadWriteObject uaObject in operation.OPCUaObjects)

                {

                    string nodeID = uaObject.NodeID;

                }

            }