XMLDA.NET Reference
EndRead Method
See Also  Send Feedback
xmldanet.xmlda Namespace > OpcXmlDA Class : EndRead Method

asyncResult
The reference to the pending asynchronous request to wait for.
RItemList
A container with an arrrya of item elements and their value information. It is expected that there are one or more Item elements per RItemList. The ReadResponse will maintain the Item order in the Read request. If an item is write-only the server will return E_WRITEONLY in the response for this item. The response will provide no value element for the affected item.
Errors
An array of OPCError elements with the description of the errors occured in this server call. Errors are only present if Items contain result codes.

Glossary Item Box

XML-DA method to asynchronously read a set of item values from an XML-DA or OPC-DA server.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As OpcXmlDA
Dim asyncResult As IAsyncResult
Dim RItemList As ReplyItemList
Dim Errors As OPCError()
Dim value As ReplyBase
 
value = instance.EndRead(asyncResult, RItemList, Errors)
C# 
public ReplyBase EndRead( 
   IAsyncResult asyncResult,
   out ReplyItemList RItemList,
   out OPCError[] Errors
)

Parameters

asyncResult
The reference to the pending asynchronous request to wait for.
RItemList
A container with an arrrya of item elements and their value information. It is expected that there are one or more Item elements per RItemList. The ReadResponse will maintain the Item order in the Read request. If an item is write-only the server will return E_WRITEONLY in the response for this item. The response will provide no value element for the affected item.
Errors
An array of OPCError elements with the description of the errors occured in this server call. Errors are only present if Items contain result codes.

Return Value

Container of information that represents the basic information for most responses.

Requirements

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

>

See Also

© 2002-2012 Advosol Inc. All Rights Reserved.