A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/framework/unmanaged-api/hosting/iclrtaskmanager-interface below:

ICLRTaskManager Interface - .NET Framework

ICLRTaskManager Interface

In this article

Provides methods that allow the host to request explicitly that the common language runtime (CLR) create a new task, get the currently executing task, and set the geographic language and culture for the task.

Methods Method Description CreateTask Method Requests explicitly that the CLR create a new ICLRTask instance. GetCurrentTask Method Gets the ICLRTask instance that represents the task that is currently executing. GetCurrentTaskType Method Gets the type of the task that is currently executing. SetLocale Method Notifies the CLR that the host has modified the locale identifier on the currently executing task. SetUILocale Method Notifies the common language runtime that the host has modified the user interface locale identifier on the currently executing task.

Each task that is running in a hosted environment has representations both on the host side (an instance of IHostTask) and on the CLR side (an instance of ICLRTask). Either the host or the CLR can initiate the creation of a task, but the host-side representation must be associated with a corresponding CLR-side representation to ensure successful communication between the host and the CLR regarding the task. The two objects must be created and instantiated before managed code can execute on an operating system thread.

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

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.

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4