Method GetUaEndpointAsync
- Namespace
- Kepware.Api.ClientHandler
- Assembly
- Kepware.Api.dll
GetUaEndpointAsync(string, CancellationToken)
Retrieves an OPC UA endpoint configuration asynchronously.
public Task<UaEndpoint?> GetUaEndpointAsync(string name, CancellationToken cancellationToken = default)
Parameters
name
stringThe name of the OPC UA endpoint.
cancellationToken
CancellationTokenA token that can be used to request cancellation of the operation.
Returns
- Task<UaEndpoint>
The UaEndpoint configuration, or null if not found.