ICorRuntimeHost::Start Method
Starts the common language runtime (CLR).
Syntax
HRESULT Start ();
Return Value
HRESULT | Description |
---|---|
S_OK | The operation was successful. |
S_FALSE | The operation failed to complete. |
E_FAIL | An unknown, catastrophic failure occurred. If a method returns E_FAIL, the CLR is no longer usable in the process. Subsequent calls to any hosting APIs return HOST_E_CLRNOTAVAILABLE. |
HOST_E_CLRNOTAVAILABLE | The CLR has not been loaded into a process, or the CLR is in a state in which it cannot run managed code or process the call successfully. |
Remarks
It is typically not necessary to call the Start
method, because the CLR starts automatically upon the first request to run managed code.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 1.0, 1.1
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.