Skip to content

Document RegisterTaskObject ignoring allowEarlyCollection #10425

Open

Description

public void RegisterTaskObject(object key, object obj, RegisteredTaskObjectLifetime lifetime, bool allowEarlyCollection)
{
ConcurrentDictionary<object, object> dict = GetCollectionForLifetime(lifetime, dontCreate: false);
dict?.TryAdd(key, obj);
}

Notice how allowEarlyCollection is ignored. It was dropped in some pre-GitHub release. We should document that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Area: EngineIssues impacting the core execution of targets and tasks.DocumentationIssues about docs, including errors and areas we should extend (this repo and learn.microsoft.com)help wantedIssues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions