IHostTask::Start 方法
请求主机将当前 IHostTask 实例表示的任务从挂起状态转为实时状态,以便执行代码。
语法
HRESULT Start ();
返回值
HRESULT | 说明 |
---|---|
S_OK | 开始成功返回。 |
E_FAIL | 发生未知的灾难性故障。 方法返回 E_FAIL 后,进程中无法再使用公共语言运行时 (CLR)。 后续调用承载方法会返回 HOST_E_CLRNOTAVAILABLE。 |
注解
Start
始终返回 HRESULT 值 S_OK,除非发生灾难性故障。
要求
平台:请参阅系统要求。
标头:MSCorEE.h
库:作为资源包含在 MSCorEE.dll 中
.NET Framework 版本:自 2.0 起可用
请参阅
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
The .NET documentation is open source. Provide feedback here.
反馈
提交和查看相关反馈