Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- OpenCVException is now serializeable, to be able to send it to differ… #534

Merged
merged 1 commit into from
Oct 19, 2018

Conversation

MHerrmannSOLID
Copy link
Contributor

One more change related to AppDomains..
The callback of "redirectError" can only be hooked to one AppDomain. Therefore if an exception occurs in a different AppDomain the Framework will try to serialize the exception between the AppDomains.
If "OpenCVException" is serializable, all exceptions ( thrown by the default "ErrorHandlerThrowException") will appear normally in the related AppDomain. Otherwise they will only work correct in the AppDomain which owns the error handler, all AppDomains different from that will receive serialization exception.

@shimat
Copy link
Owner

shimat commented Oct 19, 2018

Thank you 👍
I was worried that .NET Core 1.0 does not have Serializable, but there is no problem with .NET Core 2.0.
https://apisof.net/catalog/System.SerializableAttribute

@shimat shimat added the enhancement New feature or request label Oct 19, 2018
@shimat shimat merged commit 68d232f into shimat:master Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants