C# Класс System.Exception.Exception

Наследование: ISerializable, _Exception
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddFrames bool
CaptureTrace void
FixRemotingException Exception
GetFullNameForStackTrace void
GetObjectData void
SetMessage void
SetStackTrace void

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

Метод Описание
Exception ( ) : System.Collections
Exception ( string message ) : System.Collections
Exception ( string message, Exception innerException ) : System.Collections
GetBaseException ( ) : Exception
GetType ( ) : Type
ToString ( ) : string

Защищенные методы

Метод Описание
Exception ( SerializationInfo info, StreamingContext context ) : System.Collections

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

Метод Описание
AddFrames ( StringBuilder sb, string newline, string unknown, StackTrace st ) : bool
CaptureTrace ( ) : void
FixRemotingException ( ) : Exception
GetFullNameForStackTrace ( StringBuilder sb, MethodBase mi ) : void
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SetMessage ( string s ) : void
SetStackTrace ( string s ) : void

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

Exception() публичный метод

public Exception ( ) : System.Collections
Результат System.Collections

Exception() защищенный метод

protected Exception ( SerializationInfo info, StreamingContext context ) : System.Collections
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Результат System.Collections

Exception() публичный метод

public Exception ( string message ) : System.Collections
message string
Результат System.Collections

Exception() публичный метод

public Exception ( string message, Exception innerException ) : System.Collections
message string
innerException Exception
Результат System.Collections

GetBaseException() публичный метод

public GetBaseException ( ) : Exception
Результат Exception

GetType() публичный метод

public GetType ( ) : Type
Результат Type

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

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