This documentation is archived and is not being maintained.

WebService Members

WebService overview

Public Constructors

public constructorWebService Constructor Initializes a new instance of the WebService class.

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.

Public Methods

public methodDispose (inherited from MarshalByValueComponent) Overloaded. Releases the resources used by the MarshalByValueComponent.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetService (inherited from MarshalByValueComponent) Gets the implementer of the IServiceProvider.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Public Events

public eventDisposed (inherited from MarshalByValueComponent) Adds an event handler to listen to the Disposed event on the component.

Protected Properties

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

Protected Methods

protected methodDispose (inherited from MarshalByValueComponent) Overloaded. Releases the resources used by the MarshalByValueComponent.
protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

WebService Class | System.Web.Services Namespace

Show: