Table of Contents

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 string

The name of the OPC UA endpoint.

cancellationToken CancellationToken

A token that can be used to request cancellation of the operation.

Returns

Task<UaEndpoint>

The UaEndpoint configuration, or null if not found.