C# Класс System.Exception

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetClassName String
GetDataInternal IDictionary
GetExceptionMethodFromString System.Reflection.MethodBase
GetExceptionMethodString String
GetMessageFromNativeResources String
GetObjectData void
GetTargetSiteInternal System.Reflection.MethodBase
InternalGetMethod RuntimeMethodHandle
InternalPreserveStackTrace void
InternalToString String
IsImmutableAgileException bool
PrepForRemoting Exception
SetErrorCode void
_InternalGetMethod void*
nIsTransient bool

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

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

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

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

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

Метод Описание
GetClassName ( ) : String
GetDataInternal ( ) : IDictionary
GetExceptionMethodFromString ( ) : MethodBase
GetExceptionMethodString ( ) : String
GetMessageFromNativeResources ( ExceptionMessageKind kind ) : String
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetTargetSiteInternal ( ) : MethodBase
InternalGetMethod ( Object stackTrace ) : RuntimeMethodHandle
InternalPreserveStackTrace ( ) : void
InternalToString ( ) : String
IsImmutableAgileException ( Exception e ) : bool
PrepForRemoting ( ) : Exception
SetErrorCode ( int hr ) : void
_InternalGetMethod ( Object stackTrace ) : void*
nIsTransient ( int hr ) : bool

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

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

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

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

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

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

public Exception ( String message ) : System
message String
Результат System

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

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

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

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

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

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

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

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