ICLRRuntimeInfo::IsStarted Method

.NET Framework (current version)

Indicates whether the runtime has been started (that is, whether the ICLRRuntimeHost::Start method has been called and has succeeded).

HRESULT IsStarted(  
        [out] BOOL     *pbStarted,  
        [out] DWORD    *pdwStartupFlags);  


[out] true if this runtime is started; otherwise, false.

[out] Returns the flags that were used to start the runtime.

This method returns the following specific HRESULTs as well as HRESULT errors that indicate method failure.

S_OKThe method completed successfully.
E_NOTIMPLThe common language runtime (CLR) version is earlier than the CLR version in the .NET Framework 4.

This method does not work with CLR versions earlier than the CLR version in the .NET Framework 4.

Platforms: See System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4

ICLRRuntimeInfo Interface
Hosting Interfaces