OPC Historian .NET Server Toolkit Reference
OnReadModifiedComplete Method (GenericServer)

The client-generated transactionID passed with the originating call
S_OK if all errors[] are S_OK, S_FALSE otherwise.
The number of items that were read.
The array of objects in which the item values are returned.
A list of HRESULTS for the items.
This method makes callbacks to the client though the generic server. It is to be used to return data from Async ReadModified
Syntax
'Usage
 
Dim instance As GenericServer
Dim transactionID As Integer
Dim status As Integer
Dim numItems As Integer
Dim itemValues() As OPCHDAModifiedItem
Dim errors() As Integer
Dim value As Integer
 
value = instance.OnReadModifiedComplete(transactionID, status, numItems, itemValues, errors)
public int OnReadModifiedComplete( 
   int transactionID,
   int status,
   int numItems,
   OPCHDAModifiedItem[] itemValues,
   int[] errors
)

Parameters

transactionID
The client-generated transactionID passed with the originating call
status
S_OK if all errors[] are S_OK, S_FALSE otherwise.
numItems
The number of items that were read.
itemValues
The array of objects in which the item values are returned.
errors
A list of HRESULTS for the items.

Return Value

HRESULTS success/error code
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GenericServer Class
GenericServer Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback