OPC Studio User's Guide and Reference
GetItemSubscriptionArguments Method (EasyDAClientCore)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess Namespace > EasyDAClientCore Class : GetItemSubscriptionArguments Method
Item subscription handle as returned by the subscription method.
Obtains parameters of specified item subscription.
Syntax
'Declaration
 
Public Function GetItemSubscriptionArguments( _
   ByVal handle As Integer _
) As EasyDAItemSubscriptionArguments
'Usage
 
Dim instance As EasyDAClientCore
Dim handle As Integer
Dim value As EasyDAItemSubscriptionArguments
 
value = instance.GetItemSubscriptionArguments(handle)
public EasyDAItemSubscriptionArguments GetItemSubscriptionArguments( 
   int handle
)
public:
EasyDAItemSubscriptionArguments^ GetItemSubscriptionArguments( 
   int handle
) 

Parameters

handle
Item subscription handle as returned by the subscription method.

Return Value

Returns an object that holds all information pertaining to the item subscription: server descriptor, item descriptor, and group parameters.

This method never returns null (Nothing in Visual Basic).

This return value of this method should not be ignored.

Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

An operation was performed on a disposed object.
Remarks

This method is pure, i.e. it does not have observable side effects.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also