QuickOPC User's Guide and Reference
DataSetClassId Property (UAUadpDataSetReaderMessageParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAUadpDataSetReaderMessageParameters Class : DataSetClassId Property
Defines a dataset class related filter.
Syntax
'Declaration
 
<TypeConverterAttribute(System.ComponentModel.GuidConverter)>
Public Property DataSetClassId As Guid
'Usage
 
Dim instance As UAUadpDataSetReaderMessageParameters
Dim value As Guid
 
instance.DataSetClassId = value
 
value = instance.DataSetClassId
[TypeConverter(System.ComponentModel.GuidConverter)]
public Guid DataSetClassId {get; set;}
[TypeConverter(System.ComponentModel.GuidConverter)]
public:
property Guid DataSetClassId {
   Guid get();
   void set (    Guid value);
}
Remarks

If the value is System.Guid.Empty, the dataset class Id filter is not applied.

There are two places where data set class ID can be entered: In the UADataSetMetaData.DataSetClassId property of the UADataSetMetaData, and in the DataSetClassId property of the UAUadpDataSetReaderMessageParameters. In the end, setting either one of these to non-empty System.Guid will have the same effect. We recommend that you use the DataSetClassId property of the OpcLabs.EasyOpc.UA.PubSub.UASubscribeDataSetFilter. If you set both these properties to a non-empty System.Guid, make sure you use the same value at both places, otherwise no data set message will pass the filter.

If you have a OpcLabs.EasyOpc.UA.PubSub.UADataSetSubscriptionDescriptor, the two places mentioned above are:

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