C# Class Python.Runtime.ExceptionClassObject

Base class for Python types that reflect managed exceptions based on System.Exception
The Python wrapper for managed exceptions LIES about its inheritance tree. Although the real System.Exception is a subclass of System.Object the Python type for System.Exception does NOT claim that it subclasses System.Object. Instead TypeManager.CreateType() uses Python's exception.Exception class as base class for System.Exception.
Inheritance: ClassObject
ファイルを表示 Open project: pythonnet/pythonnet Class Usage Examples

Public Methods

Method Description
tp_str ( IntPtr ob ) : IntPtr

Private Methods

Method Description
ExceptionClassObject ( Type tp ) : System
ToException ( IntPtr ob ) : Exception

Method Details

tp_str() public static method

public static tp_str ( IntPtr ob ) : IntPtr
ob System.IntPtr
return System.IntPtr