Method CreateOrUpdateUaEndpointAsync
- Namespace
- Kepware.Api.ClientHandler
- Assembly
- Kepware.Api.dll
CreateOrUpdateUaEndpointAsync(UaEndpoint, CancellationToken)
Creates a new OPC UA endpoint or updates an existing one.
public Task<bool> CreateOrUpdateUaEndpointAsync(UaEndpoint endpoint, CancellationToken cancellationToken = default)
Parameters
endpointUaEndpointThe UaEndpoint to create or update.
cancellationTokenCancellationTokenA token that can be used to request cancellation of the operation.
Returns
Exceptions
- ArgumentException
Thrown if the
endpointhas no name specified.