.NET Based OPC UA Client/Server SDK
3.2.2.525
|
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< EndpointDescription > | AvailableEndpoints [get] |
Gets the available endpoints. More... | |
The event arguments provided when a endpoint is about to be used to connect to a server.
UnifiedAutomation.UaClient.UpdateEndpointEventArgs.UpdateEndpointEventArgs | ( | Uri | discoveryUrl, |
EndpointDescription | selectedEndpoint, | ||
IList< EndpointDescription > | availableEndpoints | ||
) |
Creates a new instance.
|
get |
Gets the available endpoints.
|
getset |
Gets the URL used to fetch the endpoints.
|
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.
|
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.