This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
System.Web.Services.WebService
The WebService class defines the base class for all webservices.
namespace System.Web.Service
{
public class WebService : Component
{
// Properties
public HttpContext Context { get; }
public HttpApplicationState Application { get; }
public SessionState Session { get; }
public HttpServerUtility Server { get; }
public IPrincipal User { get; }
}
}
Properties
Context |
Prototype |
public HttpContext Context { get; } |
Description |
HTTPRuntime provided context object that allows developers to gain access to additional pipeline-module exposed objects. |
Application |
Prototype |
public HttpApplicationState Application { get; } |
Description |
HTTPRuntime provided application intrinsic. |
Session |
Prototype |
public SessionState Session { get; } |
Description |
HTTPRuntime provided session intrinsic. |
Server |
Prototype |
public HttpServerUtility Server { get; } |
Description |
ASP Compatible “Server” Intrinsic |
User |
Prototype |
public IPrincipal User { get; } |
Description |
User security intrinsic |