QuickOPC User's Guide and Reference
FromUri Method (UAEndpointDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAEndpointDescriptor Class : FromUri Method
The URI that the client wishes to use to access the server.
Converts a System.Uri to an endpoint descriptor.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Shadows Function FromUri( _
   ByVal endpointUri As Uri _
) As UAEndpointDescriptor
'Usage
 
Dim endpointUri As Uri
Dim value As UAEndpointDescriptor
 
value = UAEndpointDescriptor.FromUri(endpointUri)
[NotNull()]
public new static UAEndpointDescriptor FromUri( 
   Uri endpointUri
)
[NotNull()]
public:
new static UAEndpointDescriptor^ FromUri( 
   Uri^ endpointUri
) 

Parameters

endpointUri
The URI that the client wishes to use to access the server.

Return Value

Returns an endpoint descriptor with the specified endpoint URL.
Remarks

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