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
Afficher le fichier Open project: pythonnet/pythonnet Class Usage Examples

Méthodes publiques

Méthode Description
tp_str ( IntPtr ob ) : IntPtr

Private Methods

Méthode Description
ExceptionClassObject ( Type tp ) : System
ToException ( IntPtr ob ) : Exception

Method Details

tp_str() public static méthode

public static tp_str ( IntPtr ob ) : IntPtr
ob System.IntPtr
Résultat System.IntPtr