Breyta

Deila með


RemotingService Class

Definition

Provides the base implementation for the remoting XML Web services.

public ref class RemotingService : System::ComponentModel::Component
public class RemotingService : System.ComponentModel.Component
type RemotingService = class
    inherit Component
Public Class RemotingService
Inherits Component
Inheritance

Remarks

The RemotingService is used to access ASP.NET from within a remoting XML Web service that derives from the RemotingService class.

Constructors

RemotingService()

Creates an instance of RemotingService.

Properties

Application

Gets a reference to the application object for the current HTTP request.

CanRaiseEvents

Gets a value indicating whether the component can raise an event.

(Inherited from Component)
Container

Gets the IContainer that contains the Component.

(Inherited from Component)
Context

Gets the current HTTP-specific context that is used by the HTTP server to process Web requests.

DesignMode

Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
Events

Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
Server

Gets the HttpServerUtility for the current request.

Session

Gets the HttpSessionState for the current request.

Site

Gets or sets the ISite of the Component.

(Inherited from Component)
User

Gets the security context of the user on whose behalf the code is running, including that user's identity and any roles that the user belongs to.

Methods

CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Dispose()

Releases all resources used by the Component.

(Inherited from Component)
Dispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.

(Inherited from Component)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()
Obsolete.

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetService(Type)

Returns an object that represents a service provided by the Component or by its Container.

(Inherited from Component)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService()
Obsolete.

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.

(Inherited from Component)

Events

Disposed

Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)

Applies to