OPC Studio User's Guide and Reference
UAApplicationManifest Constructor(Uri,String,Uri)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Administration Namespace > UAApplicationManifest Class > UAApplicationManifest Constructor : UAApplicationManifest Constructor(Uri,String,Uri)
Application URI. A unique identifier for the application instance.

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

Application name. A descriptive name for the application (not necessarily unique).

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

Product URI. A unique identifier for the product.

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

Initializes a new instance of the class, specifying application URI, application name, and product URI.
Syntax
'Declaration
 
Public Function New( _
   ByVal applicationUri As Uri, _
   ByVal applicationName As String, _
   ByVal productUri As Uri _
)
'Usage
 
Dim applicationUri As Uri
Dim applicationName As String
Dim productUri As Uri
 
Dim instance As New UAApplicationManifest(applicationUri, applicationName, productUri)
public UAApplicationManifest( 
   Uri applicationUri,
   string applicationName,
   Uri productUri
)
public:
UAApplicationManifest( 
   Uri^ applicationUri,
   String^ applicationName,
   Uri^ productUri
)

Parameters

applicationUri
Application URI. A unique identifier for the application instance.

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

applicationName
Application name. A descriptive name for the application (not necessarily unique).

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

productUri
Product URI. A unique identifier for the product.

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

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.

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