ApplicationFactoryConnectToRunningApplicationAsync(IApplicationInfo, CancellationToken) Method

Connects to Tekla Structural Designer application specified by given descriptor

Namespace: TSD.API.Remoting
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
Syntax
public static Task<IApplication?> ConnectToRunningApplicationAsync(
	IApplicationInfo? info,
	CancellationToken cancellationToken = default
)

Parameters

info  IApplicationInfo
The descriptor of an application to connect to
cancellationToken  CancellationToken  (Optional)
The optional cancellation token

Return Value

TaskIApplication
The IApplication or in case the connection failed
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