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 following tables list the members exposed by the WebService type.

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

(see also Protected Properties )
  Name Description
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)
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

  Name Description
Protected property Events  Gets the list of event handlers that are attached to this component.(inherited from MarshalByValueComponent)
Top

(see also Protected Methods )
  Name Description
Public method Dispose  Overloaded. Releases the resources used by the MarshalByValueComponent. (inherited from MarshalByValueComponent)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
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)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (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

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the MarshalByValueComponent. (inherited from MarshalByValueComponent)
Protected method Finalize  [To be supplied.] (inherited from MarshalByValueComponent)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
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