C# Class Python.Runtime.PythonException

Provides a managed interface to exceptions thrown by the Python runtime.
Inheritance: System.Exception
Afficher le fichier Open project: fkarb/pythonnet Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Dispose Method

The Dispose method provides a way to explicitly release the Python objects represented by a PythonException.

Matches ( IntPtr ob ) : bool

Matches Method

Returns true if the Python exception type represented by the PythonException instance matches the given exception type.

PythonException ( ) : System

Method Details

Dispose() public méthode

Dispose Method
The Dispose method provides a way to explicitly release the Python objects represented by a PythonException.
public Dispose ( ) : void
Résultat void

Matches() public static méthode

Matches Method
Returns true if the Python exception type represented by the PythonException instance matches the given exception type.
public static Matches ( IntPtr ob ) : bool
ob System.IntPtr
Résultat bool

PythonException() public méthode

public PythonException ( ) : System
Résultat System