C# (CSharp) Python.Runtime Exceptions.SetArgsAndCause - 4 examples found. These are the top rated real world C# (CSharp) examples of Python.Runtime.Exceptions.SetArgsAndCause extracted from open source projects. You can rate examples to help us improve the quality of examples.
Set the 'args' slot on a python exception object that wraps a CLR exception. This is needed for pickling CLR exceptions as BaseException_reduce will only check the slots, bypassing the __getattr__ implementation, and thus dereferencing a NULL pointer.