Compartilhar 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

ICLRTask Interface

ICLRTaskManager Interface

IHostTask Interface

IHostTaskManager Interface