OPC Studio User's Guide and Reference
ApplicationType Property (UAApplicationElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UAApplicationElement Class : ApplicationType Property
The type of application.
Syntax
'Declaration
 
Public Property ApplicationType As UAApplicationTypes
'Usage
 
Dim instance As UAApplicationElement
Dim value As UAApplicationTypes
 
instance.ApplicationType = value
 
value = instance.ApplicationType
public UAApplicationTypes ApplicationType {get; set;}
public:
property UAApplicationTypes ApplicationType {
   UAApplicationTypes get();
   void set (    UAApplicationTypes value);
}

Property Value

The default value of this property is None (UAApplicationTypes.None).

Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

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

If this property is left at its default value (UAApplicationTypes.None), the effective application types used by the application will be UAApplicationTypes.ClientOrServer.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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