Skip to content

Mistake in first code listing for the FileFoundArgs class #10268

@karlvonl

Description

@karlvonl

The first listing for the FileFoundArgs class erroneously contains the line:

public bool CancelRequested { get; set; }

This is erroneous for 2 reasons. 1) The paragraph following it indicates that the class is immutable, but it is clearly mutable since the CancelRequested property has a setter. 2) The same listing appears later in the article in the "Returning Values from Event Subscribers" section, but it claims that the CancelRequested property is newly added.


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

Relationships

None yet

Development

No branches or pull requests

Issue actions