OPC Studio User's Guide and Reference
ConfiguredSize Property (UAUadpDataSetWriterMessageParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAUadpDataSetWriterMessageParameters Class : ConfiguredSize Property
Defines the fixed size in bytes a dataset message uses inside a network message.
Syntax
'Declaration
 
<ValueLimitsAttribute(0, 65535)>
Public Property ConfiguredSize As Integer
'Usage
 
Dim instance As UAUadpDataSetWriterMessageParameters
Dim value As Integer
 
instance.ConfiguredSize = value
 
value = instance.ConfiguredSize
[ValueLimits(0, 65535)]
public int ConfiguredSize {get; set;}
[ValueLimits(0, 65535)]
public:
property int ConfiguredSize {
   int get();
   void set (    int value);
}

Property Value

The default value of this property is 0.

Exceptions
ExceptionDescription

The value of an argument is outside the allowable range of values as defined by the invoked method.

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

Valid range is from System.UInt16.MinValue to System.UInt16.MaxValue.

The default value is 0, and it indicates a dynamic length.

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