OPC Studio User's Guide and Reference
EndpointDescriptor Constructor(Uri)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > EndpointDescriptor Class > EndpointDescriptor Constructor : EndpointDescriptor Constructor(Uri)
The URI of the resource.

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

Initializes a new instance of the class, specifying resource URI.
Syntax
'Declaration
 
Public Function New( _
   ByVal uri As Uri _
)
'Usage
 
Dim uri As Uri
 
Dim instance As New EndpointDescriptor(uri)
public EndpointDescriptor( 
   Uri uri
)
public:
EndpointDescriptor( 
   Uri^ uri
)

Parameters

uri
The URI of the resource.

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

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