This documentation is archived and is not being maintained.

WebService Properties

The properties of the WebService class are listed here. For a complete list of WebService class members, see the WebService Members topic.

Public Properties

public propertyApplication Gets the application object for the current HTTP request.
public propertyContainer (inherited from MarshalByValueComponent) Gets the container for the component.
public propertyContext Gets the ASP.NET HttpContext for the current request, which encapsulates all HTTP-specific context used by the HTTP server to process Web requests.
public propertyDesignMode (inherited from MarshalByValueComponent) Gets a value indicating whether the component is currently in design mode.
public propertyServer Gets the HttpServerUtility for the current request.
public propertySession Gets the HttpSessionState instance for the current request.
public propertySite (inherited from MarshalByValueComponent) Gets or sets the site of the component.
public propertyUser Gets the ASP.NET server User object. Can be used to authenticate whether a user is authorized to execute the request.

Protected Properties

protected propertyEvents (inherited from MarshalByValueComponent) Gets the list of event handlers that are attached to this component.

See Also

WebService Class | System.Web.Services Namespace

Show: