QuickOPC User's Guide and Reference
SetSources Method (AESubscriptionFilter)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AESubscriptionFilter Class : SetSources Method
Sets array of event sources of interest - only events from these sources will be reported.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub SetSources( _
   ByVal nodeDescriptorArray As Object _
) 
'Usage
 
Dim instance As AESubscriptionFilter
Dim nodeDescriptorArray As Object
 
instance.SetSources(nodeDescriptorArray)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public void SetSources( 
   object nodeDescriptorArray
)
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public:
void SetSources( 
   Object^ nodeDescriptorArray
) 

Parameters

nodeDescriptorArray
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

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.

Remarks

Intended for certain COM callers. You can simply use the Sources property setter in .NET instead.

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