ProcessHost Class

Definition

Represents a process host.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class ProcessHost sealed : MarshalByRefObject, System::Web::Hosting::IAdphManager, System::Web::Hosting::IApplicationPreloadManager, System::Web::Hosting::IPphManager, System::Web::Hosting::IProcessHost, System::Web::Hosting::IProcessHostIdleAndHealthCheck
public sealed class ProcessHost : MarshalByRefObject, System.Web.Hosting.IAdphManager, System.Web.Hosting.IApplicationPreloadManager, System.Web.Hosting.IPphManager, System.Web.Hosting.IProcessHost, System.Web.Hosting.IProcessHostIdleAndHealthCheck
type ProcessHost = class
    inherit MarshalByRefObject
    interface IProcessHost
    interface IAdphManager
    interface IPphManager
    interface IProcessHostIdleAndHealthCheck
    interface IApplicationPreloadManager
Public NotInheritable Class ProcessHost
Inherits MarshalByRefObject
Implements IAdphManager, IApplicationPreloadManager, IPphManager, IProcessHost, IProcessHostIdleAndHealthCheck
Inheritance
Implements

Remarks

ProcessHost is introduced in the .NET Framework 3.5. For more information, see Versions and Dependencies.

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)
EnumerateAppDomains(IAppDomainInfoEnum)

Provides access to an enumerable set of application domains.

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()

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

(Inherited from MarshalByRefObject)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService()

Gives the process host an infinite lifetime by preventing a lease from being created.

IsIdle()

Gets the state of a process.

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)
Ping(IProcessPingCallback)

Pings a process.

SetApplicationPreloadState(String, String, Boolean)

Notifies ASP.NET that a particular application that is running on IIS 7.0 is configured to be preloaded.

SetApplicationPreloadUtil(IApplicationPreloadUtil)

Creates a type that calls IIS 7.0 to get information that is required in order to preload an application.

Shutdown()

Unloads the process host.

ShutdownApplication(String)

Shuts down the specified application.

StartAppDomainProtocolListenerChannel(String, String, IListenerChannelCallback)

Starts an application domain protocol listener channel.

StartApplication(String, String, Object)

Starts the specified application.

StartProcessProtocolListenerChannel(String, IListenerChannelCallback)

Starts a process protocol listener channel.

StopAppDomainProtocol(String, String, Boolean)

Stops an application domain protocol listener channel.

StopAppDomainProtocolListenerChannel(String, String, Int32, Boolean)

Stops an application domain protocol listener channel.

StopProcessProtocol(String, Boolean)

Stops a process protocol.

StopProcessProtocolListenerChannel(String, Int32, Boolean)

Stops a protocol listener channel.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to