Opc.Ua.Com.Server.ComHdaProxy.InsertAnnotations C# (CSharp) Method

InsertAnnotations() public method

Inserts the annotations.
public InsertAnnotations ( int transactionId, int serverHandles, System.DateTime timestamps, Annotation annotations, int &cancelId ) : int[]
transactionId int
serverHandles int
timestamps System.DateTime
annotations Annotation
cancelId int
return int[]
        public int[] InsertAnnotations(
            int transactionId,
            int[] serverHandles,
            DateTime[] timestamps,
            Annotation[][] annotations,
            out int cancelId)
        {
            Session session = ThrowIfNotConnected();
            
            // create the update requests.
            List<HdaUpdateRequest> requests = CreateUpdateRequests(
                session,
                serverHandles,
                timestamps,
                annotations);

            // queue the transaction.
            int[] errors = CreateTransaction(
                TransationType.InsertAnnotation,
                transactionId, 
                requests,
                out cancelId);

            // return the initial results.
            return errors;
        }

Same methods

ComHdaProxy::InsertAnnotations ( int serverHandles, System.DateTime timestamps, Annotation annotations ) : int[]