Click or drag to resize
CoronaRuntimeRun Method

Starts executing the "resource.car" or "main.lua" file found under the default resource directory specified by the DefaultResourceDirectoryPath property.

If the runtime is currently executing a Corona project, then it will be terminated before running a new one.

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public IOperationResult Run()

Return Value

Type: IOperationResult

Returns a success result if the Corona runtime was able to start up.

Returns a failure result if unable to start. In this case, the result object's "Message" property will provide an error message indicating why the failure occurred.

See Also