Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Validates composition, owns the created Editor host and retires resources on exit, cancellation or failure.

API: engine
Project: Inno.Editor.Hosting

public static System.Threading.Tasks.Task<int> Inno.Editor.Hosting.EditorApplication.RunAsync(Inno.Editor.Hosting.EditorLaunchOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter options: Borrowed catalogs, factories and product configuration; created resources transfer to the host.

Parameter cancellationToken: Cancels before creation or requests orderly owner-thread shutdown.

Zero after orderly completion; startup, execution and retirement failures propagate.

Exception T:System.ArgumentNullException: Options or a required dependency is null.

Exception T:System.ArgumentException: A required location or product selection is invalid.

Exception T:System.NotSupportedException: A selected backend lacks its matching runtime or authoring provider.

Exception T:System.OperationCanceledException: Startup or execution was canceled after resource retirement.

Exception T:System.InvalidOperationException: Product startup or resource retirement fails.