System.Web Namespace
Provides helper methods for processing Web requests.
Visibility |
Name |
Parameters |
Return Type |
public |
ClearError |
( )
|
Void
|
public |
CreateObject |
(
String
progID
)
|
Object
|
public |
CreateObject |
(
Type
type
)
|
Object
|
public |
CreateObjectFromClsid |
(
String
clsid
)
|
Object
|
public |
Execute |
(
String
path
,
Boolean
preserveForm
)
|
Void
|
public |
Execute |
(
IHttpHandler
handler
,
TextWriter
writer
,
Boolean
preserveForm
)
|
Void
|
public |
Execute |
(
String
path
,
TextWriter
writer
,
Boolean
preserveForm
)
|
Void
|
public |
Execute |
(
String
path
,
TextWriter
writer
)
|
Void
|
public |
Execute |
(
String
path
)
|
Void
|
public |
GetLastError |
( )
|
Exception
|
public |
HtmlDecode |
(
String
s
)
|
String
|
public |
HtmlDecode |
(
String
s
,
TextWriter
output
)
|
Void
|
public |
HtmlEncode |
(
String
s
)
|
String
|
public |
HtmlEncode |
(
String
s
,
TextWriter
output
)
|
Void
|
public |
MapPath |
(
String
path
)
|
String
|
public |
Transfer |
(
String
path
)
|
Void
|
public |
Transfer |
(
IHttpHandler
handler
,
Boolean
preserveForm
)
|
Void
|
public |
Transfer |
(
String
path
,
Boolean
preserveForm
)
|
Void
|
public |
TransferRequest |
(
String
path
,
Boolean
preserveForm
)
|
Void
|
public |
TransferRequest |
(
String
path
)
|
Void
|
public |
TransferRequest |
(
String
path
,
Boolean
preserveForm
,
String
method
,
NameValueCollection
headers
,
Boolean
preserveUser
)
|
Void
|
public |
TransferRequest |
(
String
path
,
Boolean
preserveForm
,
String
method
,
NameValueCollection
headers
)
|
Void
|
public |
UrlDecode |
(
String
s
,
TextWriter
output
)
|
Void
|
public |
UrlDecode |
(
String
s
)
|
String
|
public |
UrlEncode |
(
String
s
)
|
String
|
public |
UrlEncode |
(
String
s
,
TextWriter
output
)
|
Void
|
public |
UrlPathEncode |
(
String
s
)
|
String
|
public static |
UrlTokenDecode |
(
String
input
)
|
Byte
|
public static |
UrlTokenEncode |
(
Byte
input
)
|
String
|
|
The methods and properties of the HttpServerUtility class are exposed via the intrinsic Server object.
Server.propertyName = value;
Server.methodName ( arguments );
Server.propertyName = value
Server.methodName ( arguments ) |
|
C# |
VB |
Type var = Server.propertyName;
Type var = Server.methodName ( arguments );
Dim var as Type = Server.propertyName
Dim var as Type = Server.methodName ( arguments ) |
|
C# |
VB |
|
|