Method StartNewApplicationAsync

StartNewApplicationAsync(CancellationToken, int, Func<Version, bool>?, string)

Starts new instance of Tekla Structural Designer application and connects to it

Declaration
public static Task<IApplication?> StartNewApplicationAsync(CancellationToken cancellationToken, int timeout = 30000, Func<Version, bool>? versionSelector = null, string commandLineOptions = "")
Parameters
Type Name Description
CancellationToken cancellationToken

The cancellation token

int timeout

The timeout for application start (in [ms])

Func<Version, bool> versionSelector

The function selecting which of the installed version of Tekla Structural Designer should be started, when null the highest installed version is started

string commandLineOptions

The command line options passed to TSD

Returns
Type Description
Task<IApplication>

The IApplication or null if application cannot be started or connected to

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next