OPC Studio User's Guide and Reference
EndpointUri Property



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Discovery Namespace > UADiscoveryElement Class : EndpointUri Property
The URL for the endpoint.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DisplayAttribute(AutoGenerateField=True, 
   Order=101, 
   ShortName="Endpoint URI")>
Public Property EndpointUri As Uri
'Usage
 
Dim instance As UADiscoveryElement
Dim value As Uri
 
instance.EndpointUri = value
 
value = instance.EndpointUri
[CanBeNull()]
[Display(AutoGenerateField=true, 
   Order=101, 
   ShortName="Endpoint URI")]
public Uri EndpointUri {get; set;}
[CanBeNull()]
[Display(AutoGenerateField=true, 
   Order=101, 
   ShortName="Endpoint URI")]
public:
property Uri^ EndpointUri {
   Uri^ get();
   void set (    Uri^ value);
}
Remarks

This property is null if the underlying string does not represent a valid URI.

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