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
endpoint
UaEndpointThe UaEndpoint to create or update.
cancellationToken
CancellationTokenA token that can be used to request cancellation of the operation.
Returns
Exceptions
- ArgumentException
Thrown if the
endpoint
has no name specified.