ApplicationFactoryStartNewApplicationAsync Method

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

Namespace: TSD.API.Remoting
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 23.1.0.154
Syntax
public static Task<IApplication?> StartNewApplicationAsync(
	CancellationToken cancellationToken,
	int timeout = 30000,
	Func<Version, bool>? versionSelector = null
)

Parameters

cancellationToken  CancellationToken
The cancellation token
timeout  Int32  (Optional)
The timeout for application start (in [ms])
versionSelector  FuncVersion, Boolean  (Optional)
The function selecting which of the installed version of Tekla Structural Designer should be started, when the highest installed version is started

Return Value

TaskIApplication
The IApplication or null if application cannot be started or connected to
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next