OPC Studio User's Guide and Reference
UAGetSecurityKeysArguments Constructor(String,Int64,Int64)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.SecurityKeyService Namespace > UAGetSecurityKeysArguments Class > UAGetSecurityKeysArguments Constructor : UAGetSecurityKeysArguments Constructor(String,Int64,Int64)
The identifier for the security group. It shall be unique within the Security Key Service.

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

The starting token Id that should be returned.
The number of requested keys which should be returned (0 for no future keys).
Initializes a new instance of the class, specifying the security group Id, starting token Id, and requested key count.
Syntax
'Declaration
 
Public Function New( _
   ByVal securityGroupId As String, _
   ByVal startingTokenId As Long, _
   ByVal requestedKeyCount As Long _
)
'Usage
 
Dim securityGroupId As String
Dim startingTokenId As Long
Dim requestedKeyCount As Long
 
Dim instance As New UAGetSecurityKeysArguments(securityGroupId, startingTokenId, requestedKeyCount)
public UAGetSecurityKeysArguments( 
   string securityGroupId,
   long startingTokenId,
   long requestedKeyCount
)
public:
UAGetSecurityKeysArguments( 
   String^ securityGroupId,
   int64 startingTokenId,
   int64 requestedKeyCount
)

Parameters

securityGroupId
The identifier for the security group. It shall be unique within the Security Key Service.

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

startingTokenId
The starting token Id that should be returned.
requestedKeyCount
The number of requested keys which should be returned (0 for no future keys).
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