OPC Historian .NET Server Toolkit Reference
CancelAsyncRead Method (AppPlugin)

Identifies the request to be cancelled.
This method cancels outstanding asynchronous read or advise requests. The server shall respond via the client's IOPCHDA_DataCallback::OnCancelComplete method 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 IOPCHDA_DataCallback::OnCancelComplete method.
Syntax
'Usage
 
Dim instance As AppPlugin
Dim cancelID As Integer
Dim value As Integer
 
value = instance.CancelAsyncRead(cancelID)
public int CancelAsyncRead( 
   int cancelID
)

Parameters

cancelID
Identifies the request to be cancelled.

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

AppPlugin Class
AppPlugin Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback