C# Класс IronPython.Runtime.Exceptions.PythonExceptions.BaseException

Наследование: ICodeFormattable, IPythonObject, IDynamicObject
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
DeleteCustomMember bool
EnsureDict void
GetBoundMember object
GetClrException System.Exception
IDynamicMetaObjectProvider DynamicMetaObject
IPythonObject PythonDictionary
IPythonObject bool
IPythonObject object[]
IPythonObject void
IWeakReferenceable IronPython.Runtime.WeakRefTracker
IWeakReferenceable bool
IWeakReferenceable void
InitAndGetClrException System.Exception
InitializeFromClr void
SetMemberAfter void
__getslice__ PythonTuple

Открытые методы

Метод Описание
BaseException ( IronPython.Runtime.Types.PythonType type ) : System.Linq.Expressions
ToString ( ) : string
__init__ ( ) : void

Initializes the Exception object with an unlimited number of arguments

__new__ ( IronPython.Runtime.Types.PythonType cls ) : object
__new__ ( IronPython.Runtime.Types.PythonType cls, object>.[ kwArgsø ) : object
__reduce__ ( ) : object

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying

__reduce_ex__ ( int protocol ) : object

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying

__repr__ ( CodeContext context ) : string

Implements __repr__ which returns the type name + the args tuple code formatted.

__setstate__ ( PythonDictionary state ) : void

Updates the exception's state (dictionary) with the new values

__unicode__ ( ) : string
this ( int index ) : object

Gets the nth member of the args property

Приватные методы

Метод Описание
DeleteCustomMember ( string name ) : bool
EnsureDict ( ) : void
GetBoundMember ( string name ) : object
GetClrException ( ) : Exception

Helper to get the CLR exception associated w/ this Python exception creating it if one has not already been created.

IDynamicMetaObjectProvider ( Expression parameter ) : DynamicMetaObject
IPythonObject ( PythonDictionary dict ) : PythonDictionary
IPythonObject ( PythonDictionary dict ) : bool
IPythonObject ( ) : object[]
IPythonObject ( IronPython.Runtime.Types.PythonType newType ) : void
IWeakReferenceable ( ) : IronPython.Runtime.WeakRefTracker
IWeakReferenceable ( IronPython.Runtime.WeakRefTracker value ) : bool
IWeakReferenceable ( IronPython.Runtime.WeakRefTracker value ) : void
InitAndGetClrException ( ) : Exception
InitializeFromClr ( System exception ) : void
SetMemberAfter ( string name, object value ) : void
__getslice__ ( int start, int stop ) : PythonTuple

Описание методов

BaseException() публичный Метод

public BaseException ( IronPython.Runtime.Types.PythonType type ) : System.Linq.Expressions
type IronPython.Runtime.Types.PythonType
Результат System.Linq.Expressions

ToString() публичный Метод

public ToString ( ) : string
Результат string

__init__() публичный Метод

Initializes the Exception object with an unlimited number of arguments
public __init__ ( ) : void
Результат void

__new__() публичный статический Метод

public static __new__ ( IronPython.Runtime.Types.PythonType cls ) : object
cls IronPython.Runtime.Types.PythonType
Результат object

__new__() публичный статический Метод

public static __new__ ( IronPython.Runtime.Types.PythonType cls, object>.[ kwArgsø ) : object
cls IronPython.Runtime.Types.PythonType
kwArgsø object>.[
Результат object

__reduce__() публичный Метод

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying
public __reduce__ ( ) : object
Результат object

__reduce_ex__() публичный Метод

Returns a tuple of (type, (arg0, ..., argN)) for implementing pickling/copying
public __reduce_ex__ ( int protocol ) : object
protocol int
Результат object

__repr__() публичный Метод

Implements __repr__ which returns the type name + the args tuple code formatted.
public __repr__ ( CodeContext context ) : string
context CodeContext
Результат string

__setstate__() публичный Метод

Updates the exception's state (dictionary) with the new values
public __setstate__ ( PythonDictionary state ) : void
state PythonDictionary
Результат void

__unicode__() публичный Метод

public __unicode__ ( ) : string
Результат string

this() публичный Метод

Gets the nth member of the args property
public this ( int index ) : object
index int
Результат object