OPCHDA.NET-UA
CancelRead Method
See Also  Send Feedback
OpcHDaNetUaOption.Net4 Assembly > hdaUAwrapper Namespace > HDAServer Class : CancelRead Method

cancelID
OUT: The server-generated cancelID which was returned from the original method call.

Glossary Item Box

This synchronous function cancels the outstanding operation. The actual implementation is server specific, but the server shall respond via the client's CancelComplete event handler unless a FAILED error code is returned from the call.

If a FAILED error code is returned, there will be no callback to the client's CancelComplete event handler.

Syntax

Visual Basic (Declaration) 
Public Function CancelRead( _
   ByVal cancelID As Integer _
) As Integer
C# 
public int CancelRead( 
   int cancelID
)

Parameters

cancelID
OUT: The server-generated cancelID which was returned from the original method call.

Return Value

S_OK, E_INVALIDARG, E_FAIL

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.