Skip to content

Cancelling Parallel.For(Each) #27419

Closed
@VladiStep

Description

@VladiStep

Is it necessary to call po.CancellationToken.ThrowIfCancellationRequested() if it throws (and then catches) the same OperationCanceledException anyway?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions