C# Класс System.Web.HttpException

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

Private Properties

Свойство Тип Описание
FillDefaultCustomErrorValues void
FillDefaultErrorValues void
FillHtmlizedErrorValues void
FormatFullStackTrace string
FormatSource void
FormatSourceFile string
GetObjectData void
GetPageTemplate System.Web.ExceptionPageTemplate
HtmlEncode string
HttpException System.IO
HttpException System.IO
HttpException System.IO
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
NewWithCode HttpException
SetWebEventCode void
WriteCompilationSource void
WritePageSource void

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

Метод Описание
CreateFromLastError ( string message ) : HttpException
GetHtmlErrorMessage ( ) : string
GetHttpCode ( ) : int
HttpException ( ) : System.IO
HttpException ( int httpCode, string message ) : System.IO
HttpException ( int httpCode, string message, Exception innerException ) : System.IO
HttpException ( int httpCode, string message, int hr ) : System.IO
HttpException ( string message ) : System.IO
HttpException ( string message, Exception innerException ) : System.IO
HttpException ( string message, int hr ) : System.IO

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

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

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

Метод Описание
FillDefaultCustomErrorValues ( System.Web.ExceptionPageTemplateValues values ) : void
FillDefaultErrorValues ( bool showTrace, bool showExceptionType, Exception baseEx, System.Web.ExceptionPageTemplateValues values ) : void
FillHtmlizedErrorValues ( System.Web.ExceptionPageTemplateValues values, System.Web.HtmlizedException exc, ExceptionPageTemplateType &pageType ) : void
FormatFullStackTrace ( ) : string
FormatSource ( StringBuilder builder, StringBuilder longVersion, System.Web.HtmlizedException e ) : void
FormatSourceFile ( string filename ) : string
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetPageTemplate ( ) : System.Web.ExceptionPageTemplate
HtmlEncode ( string s ) : string
HttpException ( int httpCode, string message, Exception innerException, string resourceName ) : System.IO
HttpException ( int httpCode, string message, string resourceName ) : System.IO
HttpException ( int httpCode, string message, string resourceName, string description ) : System.IO
NewWithCode ( int httpCode, string message, Exception innerException, int webEventCode ) : HttpException
NewWithCode ( int httpCode, string message, Exception innerException, string resourceName, int webEventCode ) : HttpException
NewWithCode ( int httpCode, string message, int webEventCode ) : HttpException
NewWithCode ( int httpCode, string message, string resourceName, int webEventCode ) : HttpException
NewWithCode ( string message, Exception innerException, int webEventCode ) : HttpException
NewWithCode ( string message, int webEventCode ) : HttpException
SetWebEventCode ( int webEventCode ) : void
WriteCompilationSource ( StringBuilder builder, StringBuilder longVersion, System.Web.HtmlizedException e ) : void
WritePageSource ( StringBuilder builder, System.Web.HtmlizedException e ) : void

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

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

public static CreateFromLastError ( string message ) : HttpException
message string
Результат HttpException

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

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

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

public GetHttpCode ( ) : int
Результат int

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

public HttpException ( ) : System.IO
Результат System.IO

HttpException() защищенный Метод

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

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

public HttpException ( int httpCode, string message ) : System.IO
httpCode int
message string
Результат System.IO

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

public HttpException ( int httpCode, string message, Exception innerException ) : System.IO
httpCode int
message string
innerException Exception
Результат System.IO

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

public HttpException ( int httpCode, string message, int hr ) : System.IO
httpCode int
message string
hr int
Результат System.IO

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

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

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

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

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

public HttpException ( string message, int hr ) : System.IO
message string
hr int
Результат System.IO