Export (0) Print
Expand All

WebService Members

Defines the optional base class for XML Web services, which provides direct access to common ASP.NET objects, such as application and session state.

The WebService type exposes the following members.

  NameDescription
Public method WebService Initializes a new instance of the WebService class.
Top

  NameDescription
Public method Dispose Overloaded. Releases the resources used by the MarshalByValueComponent.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from MarshalByValueComponent.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetService Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from MarshalByValueComponent.)
Top

  NameDescription
Public property Application Gets the application object for the current HTTP request.
Public property Container Gets the container for the component. (Inherited from MarshalByValueComponent.)
Public property Context 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 property DesignMode Gets a value indicating whether the component is currently in design mode. (Inherited from MarshalByValueComponent.)
Protected property Events Gets the list of event handlers that are attached to this component. (Inherited from MarshalByValueComponent.)
Public property Server Gets the HttpServerUtility for the current request.
Public property Session Gets the HttpSessionState instance for the current request.
Public property Site Gets or sets the site of the component. (Inherited from MarshalByValueComponent.)
Public property SoapVersion Gets the version of the SOAP protocol used to make the SOAP request to the XML Web service.
Public property User Gets the ASP.NET server User object. Can be used to authenticate whether a user is authorized to execute the request.
Top

  NameDescription
Public event Disposed Adds an event handler to listen to the Disposed event on the component. (Inherited from MarshalByValueComponent.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft