OPC Studio User's Guide and Reference
UAWriterGroupElement Constructor(String,Int32)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAWriterGroupElement Class > UAWriterGroupElement Constructor : UAWriterGroupElement Constructor(String,Int32)
The name of the writer group.

The value of this parameter cannot be null (Nothing in Visual Basic).

The writer group Id.
Initializes a new instance of the class, specifying the name, and writer group Id.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal writerGroupId As Integer _
)
'Usage
 
Dim name As String
Dim writerGroupId As Integer
 
Dim instance As New UAWriterGroupElement(name, writerGroupId)
public UAWriterGroupElement( 
   string name,
   int writerGroupId
)
public:
UAWriterGroupElement( 
   String^ name,
   int writerGroupId
)

Parameters

name
The name of the writer group.

The value of this parameter cannot be null (Nothing in Visual Basic).

writerGroupId
The writer group Id.
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.

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