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

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

Private Properties

Свойство Тип Описание
BeginTimeoutPossible void
ClearError void
EndTimeoutPossible void
EnsureProviderFactory bool
GetAppConfig object
GetConfig object
GetCurrentHandler IHttpHandler
GetGlobalObjectFromFactory object
GetLocalObjectFromFactory object
GetPreviousHandler IHttpHandler
GetResourceProvider IResourceProvider
HasError bool
IServiceProvider object
PopHandler void
PushHandler void
SetSession void
StartTimeoutTimer void
StopTimeoutTimer void
TimeoutReached void

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

Метод Описание
AddError ( Exception errorInfo ) : void
ClearError ( ) : void
GetGlobalResourceObject ( string classKey, string resourceKey ) : object
GetGlobalResourceObject ( string classKey, string resourceKey, CultureInfo culture ) : object
GetLocalResourceObject ( string virtualPath, string resourceKey ) : object
GetLocalResourceObject ( string virtualPath, string resourceKey, CultureInfo culture ) : object
GetSection ( string name ) : object
HttpContext ( HttpRequest request, HttpResponse response ) : System.Collections
HttpContext ( System.Web.HttpWorkerRequest wr ) : System.Collections
RemapHandler ( IHttpHandler handler ) : void
RewritePath ( string path ) : void
RewritePath ( string path, bool rebaseClientPath ) : void
RewritePath ( string filePath, string pathInfo, string queryString ) : void
RewritePath ( string filePath, string pathInfo, string queryString, bool setClientFilePath ) : void
SetSessionStateBehavior ( SessionStateBehavior sessionStateBehavior ) : void

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

Метод Описание
BeginTimeoutPossible ( ) : void
ClearError ( Exception e ) : void
EndTimeoutPossible ( ) : void
EnsureProviderFactory ( ) : bool
GetAppConfig ( string name ) : object
GetConfig ( string name ) : object
GetCurrentHandler ( ) : IHttpHandler
GetGlobalObjectFromFactory ( string classKey, string resourceKey, CultureInfo culture ) : object
GetLocalObjectFromFactory ( string virtualPath, string resourceKey, CultureInfo culture ) : object
GetPreviousHandler ( ) : IHttpHandler
GetResourceProvider ( string virtualPath, bool isLocal ) : IResourceProvider
HasError ( Exception e ) : bool
IServiceProvider ( Type service ) : object
PopHandler ( ) : void
PushHandler ( IHttpHandler handler ) : void
SetSession ( System.Web.SessionState.HttpSessionState state ) : void
StartTimeoutTimer ( ) : void
StopTimeoutTimer ( ) : void
TimeoutReached ( object state ) : void

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

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

public AddError ( Exception errorInfo ) : void
errorInfo Exception
Результат void

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

public ClearError ( ) : void
Результат void

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

public static GetGlobalResourceObject ( string classKey, string resourceKey ) : object
classKey string
resourceKey string
Результат object

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

public static GetGlobalResourceObject ( string classKey, string resourceKey, CultureInfo culture ) : object
classKey string
resourceKey string
culture System.Globalization.CultureInfo
Результат object

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

public static GetLocalResourceObject ( string virtualPath, string resourceKey ) : object
virtualPath string
resourceKey string
Результат object

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

public static GetLocalResourceObject ( string virtualPath, string resourceKey, CultureInfo culture ) : object
virtualPath string
resourceKey string
culture System.Globalization.CultureInfo
Результат object

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

public GetSection ( string name ) : object
name string
Результат object

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

public HttpContext ( HttpRequest request, HttpResponse response ) : System.Collections
request HttpRequest
response HttpResponse
Результат System.Collections

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

public HttpContext ( System.Web.HttpWorkerRequest wr ) : System.Collections
wr System.Web.HttpWorkerRequest
Результат System.Collections

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

public RemapHandler ( IHttpHandler handler ) : void
handler IHttpHandler
Результат void

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

public RewritePath ( string path ) : void
path string
Результат void

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

public RewritePath ( string path, bool rebaseClientPath ) : void
path string
rebaseClientPath bool
Результат void

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

public RewritePath ( string filePath, string pathInfo, string queryString ) : void
filePath string
pathInfo string
queryString string
Результат void

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

public RewritePath ( string filePath, string pathInfo, string queryString, bool setClientFilePath ) : void
filePath string
pathInfo string
queryString string
setClientFilePath bool
Результат void

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

public SetSessionStateBehavior ( SessionStateBehavior sessionStateBehavior ) : void
sessionStateBehavior SessionStateBehavior
Результат void