uaPLUS Reference
OnReadAttributeComplete Method
See Also  Send Feedback
HDAPluginDA Namespace > HdaGenericServer Class : OnReadAttributeComplete Method

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

Glossary Item Box

This method makes callbacks to the client though the generic server. It is to be used to return data from Async ReadAttribute

Syntax

Visual Basic (Declaration) 
Public Function OnReadAttributeComplete( _
   ByVal transactionID As Integer, _
   ByVal status As Integer, _
   ByVal hndClient As Integer, _
   ByVal numItems As Integer, _
   ByVal AttributeValues() As OPCHDAAttribute, _
   ByVal errors() As Integer _
) As Integer
C# 
public int OnReadAttributeComplete( 
   int transactionID,
   int status,
   int hndClient,
   int numItems,
   OPCHDAAttribute[] AttributeValues,
   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.
hndClient
The client handle for the item.
numItems
The number of items that were read.
AttributeValues
The array of objects in which the attribute values are returned.
errors
A list of HRESULTS for the items.

Return Value

HRESULTS success/error code

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.