Skip to content

Problems on changes from outside the UI thread: System.InvalidOperationException #6

@XySoftNeil

Description

@XySoftNeil

Not so much of an issue as a warning to others. If you have a need to load your monitored document in the background from a BackgroundWorker, you may run into a sporadic error.

"System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'"

the cure for this is to make sure you are doing all your operations in the UI thread. Or It may be that the MUF code could be changed to make sure that all operations occur on the UI thread.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions