System.Web.Services.WebService.Application Property

Gets the application object for the current HTTP request.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Description("The ASP.NET application object for the current request.")]
[System.ComponentModel.Browsable(false)]
public System.Web.HttpApplicationState Application { get; }

Value

a System.Web.HttpApplicationState

Remarks

XML Web services can use both application state and session state. Application state is maintained across all sessions accessing an XML Web service regardless of whether session state is turned off for a method(by using the WebMethodAttribute.EnableSession property of the System.Web.Services.WebMethodAttribute).

Requirements

Namespace: System.Web.Services
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0