C# Class Python.Runtime.PythonException

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

Public Methods

Method 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 method

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

Matches() public static method

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
return bool

PythonException() public method

public PythonException ( ) : System
return System