Start Method
Collapse the table of content
Expand the table of content

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 ();

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.

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: Available since 2.0

Show:
© 2016 Microsoft