Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
ChiakiYu
Common
Web
WebHelper
SetStatusCodeForError
ChiakiYu.Common.Web.WebHelper.SetStatusCodeForError C# (CSharp) Method
WebHelper Class Documentation
Exibir arquivo
Open project: andyshao/ChiakiYu
SetStatusCodeForError()
public
static
method
设置当前响应的状态码为指定值
public
static
SetStatusCodeForError
(
System.Web.HttpResponseBase
response
) :
void
response
System.Web.HttpResponseBase
当前响应
return
void
public static void SetStatusCodeForError(HttpResponseBase response) { response.StatusCode = 300; }
WebHelper
FormatCompleteUrl
GetIP
GetPhysicalFilePath
GetServerDomain
HostPath
HtmlDecode
HtmlEncode
ResolveUrl
Return304
Return403
Return404
ReturnStatusCode
SetStatusCodeForError
UrlDecode
UrlEncode