-
Notifications
You must be signed in to change notification settings - Fork 144
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
Support Exception Propagation for .NET Core #102
Comments
it's very hardly to implements InnerException, StackTrace, Message etc. (de)serializable for json or xml. I reveiwed the .NetCore Framework XmlSerializer it can serialize/deserialize InnerException, the method is use Reflection to access private fields. It's a very low level usage, private field is not contract and variable. corefx\src\System.Private.DataContractSerialization\src\System\Runtime\Serialization\ExceptionDataContract.cs
since Framework need to do like this why not support ISerializable? |
Hi @chrishaly, thanks for the input! I did a somewhat similar discovery myself when looking into this. The ambition for Let me know if you have any other suggestions for how to achieve this! |
Serialization in general, and of or Exception in particular is still an unresolved topic for .NET Core (https://github.com/dotnet/coreclr/issues/2715, https://github.com/dotnet/corefx/issues/6564). Until this issue is resolved, we should overlook how
MessageHandlerException
should be serialized and re-thrown for RPC.The text was updated successfully, but these errors were encountered: