Dela via


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.

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 .NET Framework System Requirements.

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICLRTask Interface

ICLRTaskManager Interface

IHostTask Interface

IHostTaskManager Interface