IHostTask::Start Method

Requests that the host move the task represented by the current IHostTask instance from a suspended to a live state, in which code can be executed.

Syntax

HRESULT Start ();  

Return Value

HRESULT Description
S_OK Start returned successfully.
E_FAIL An unknown catastrophic failure occurred. When a method returns E_FAIL, the common language runtime (CLR) is no longer usable within the process. Subsequent calls to hosting methods return HOST_E_CLRNOTAVAILABLE.

Remarks

Start always returns an HRESULT value of S_OK, except in cases where a catastrophic failure has occurred.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also