Skip to main content

Component Plug-In SDK 2026 R1

Method ExecuteAsync

Last update: 19.06.2026

Namespace: Phoenix.ComponentAPI
Assembly: Phoenix.ComponentAPI.dll

ExecuteAsync(ComponentRunRequest, CancellationToken?)

Requests a run of the pacz.

Depending on the implementation, the actual run may be serialized or parallelized.

Clients should always send all input variables to every run and not assume that state will be maintained between calls to ExecuteAsync.

Task<ComponentRunResults> ExecuteAsync(ComponentRunRequest request, CancellationToken? cancel)

Parameters

request ComponentRunRequest

The object that defines the run.

cancel CancellationToken?

A cancellation token that may be used to cancel the run request.

Returns

Task<ComponentRunResults>

A task that will return the run results when they are finished.

Connect with Ansys