Table of Contents

Method ReinitializeRuntimeAsync

Namespace
Kepware.Api.ClientHandler
Assembly
Kepware.Api.dll

ReinitializeRuntimeAsync(CancellationToken)

Initiates the Reinitialize Runtime service.

public Task<KepServerJobPromise> ReinitializeRuntimeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<KepServerJobPromise>

A task that represents the asynchronous operation. The task result contains a KepServerJobPromise.

ReinitializeRuntimeAsync(TimeSpan, CancellationToken)

Initiates the Reinitialize Runtime service.

public Task<KepServerJobPromise> ReinitializeRuntimeAsync(TimeSpan timeToLive, CancellationToken cancellationToken = default)

Parameters

timeToLive TimeSpan

The job's desired Time to Live (timeout).

cancellationToken CancellationToken

The cancellation token.

Returns

Task<KepServerJobPromise>

A task that represents the asynchronous operation. The task result contains a KepServerJobPromise.