OPCDA.NET Reference Manual
OnBGSubscribe Delegate
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace : OnBGSubscribe Delegate

ex
null (Nothing) except when an error occured in the handling of the request. On error the other paramters are invalid, except for the tag parameter.
odbSubscr
Subscription object of the added DataBind subscription.
tag
null (Nothing) or an object passed from the request call. The application can pass an object with any kind of information from the request module to the completion handler.

Glossary Item Box

BGDataBind.Subscribe completion notification. A subscription object is returned when the Subscribe was successful. This Subscription object allows access to methods of the DataBind object and even the underlying OpcGroup object. However, such an access is executed in the calling thread and may block the thread.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub OnBGSubscribe( _
   ByVal ex As BGException, _
   ByVal odbSubscr As Subscription, _
   ByVal tag As Object _
) 
C# 
public delegate void OnBGSubscribe( 
   BGException ex,
   Subscription odbSubscr,
   object tag
)

Parameters

ex
null (Nothing) except when an error occured in the handling of the request. On error the other paramters are invalid, except for the tag parameter.
odbSubscr
Subscription object of the added DataBind subscription.
tag
null (Nothing) or an object passed from the request call. The application can pass an object with any kind of information from the request module to the completion handler.

Requirements

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

See Also

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