.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaClient.UpdateEndpointEventArgs Class Reference

The event arguments provided when a endpoint is about to be used to connect to a server. More...

Inherits EventArgs.

Public Member Functions

 UpdateEndpointEventArgs (Uri discoveryUrl, EndpointDescription selectedEndpoint, IList< EndpointDescription > availableEndpoints)
 Creates a new instance. More...
 

Properties

Uri DiscoveryUrl [get, set]
 Gets the URL used to fetch the endpoints. More...
 
bool UseDnsNameAndPortFromDiscoveryUrl [get, set]
 Gets or sets a value indicating whether to use the DNS name and port from the discovery URL. More...
 
EndpointDescription SelectedEndpoint [get, set]
 Gets or sets the currently selected endpoint. More...
 
IList< EndpointDescriptionAvailableEndpoints [get]
 Gets the available endpoints. More...
 

Detailed Description

The event arguments provided when a endpoint is about to be used to connect to a server.

Constructor & Destructor Documentation

UnifiedAutomation.UaClient.UpdateEndpointEventArgs.UpdateEndpointEventArgs ( Uri  discoveryUrl,
EndpointDescription  selectedEndpoint,
IList< EndpointDescription availableEndpoints 
)

Creates a new instance.

Property Documentation

IList<EndpointDescription> UnifiedAutomation.UaClient.UpdateEndpointEventArgs.AvailableEndpoints
get

Gets the available endpoints.

Uri UnifiedAutomation.UaClient.UpdateEndpointEventArgs.DiscoveryUrl
getset

Gets the URL used to fetch the endpoints.

EndpointDescription UnifiedAutomation.UaClient.UpdateEndpointEventArgs.SelectedEndpoint
getset

Gets or sets the currently selected endpoint.

The receiver of UpdateEndpoint event can change this to whatever they want. Setting it to NULL means the connect operation will be aborted.

bool UnifiedAutomation.UaClient.UpdateEndpointEventArgs.UseDnsNameAndPortFromDiscoveryUrl
getset

Gets or sets a value indicating whether to use the DNS name and port from the discovery URL.

true if the DNS name and port from the discovery URL is used to connect; otherwise false.

The URLs returned by the server may not be accessible to the client. The DNS name from the discovery URL is a suitable fallback behavior but will trigger a domain mismatch error.


The documentation for this class was generated from the following file: