Edit

Bagikan melalui


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::IPphManager, System::Web::Hosting::IProcessHost, System::Web::Hosting::IProcessHostIdleAndHealthCheck
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.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
type ProcessHost = class
    inherit MarshalByRefObject
    interface IProcessHost
    interface IAdphManager
    interface IPphManager
    interface IProcessHostIdleAndHealthCheck
    interface IApplicationPreloadManager
Public NotInheritable Class ProcessHost
Inherits MarshalByRefObject
Implements IAdphManager, IPphManager, IProcessHost, IProcessHostIdleAndHealthCheck
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)

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

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

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

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

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

IsIdle()

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

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)

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

Pings a process.

SetApplicationPreloadState(String, String, Boolean)

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

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

SetApplicationPreloadUtil(IApplicationPreloadUtil)

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

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

Shutdown()

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

Unloads the process host.

ShutdownApplication(String)

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

Shuts down the specified application.

StartAppDomainProtocolListenerChannel(String, String, IListenerChannelCallback)

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

Starts an application domain protocol listener channel.

StartApplication(String, String, Object)

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

Starts the specified application.

StartProcessProtocolListenerChannel(String, IListenerChannelCallback)

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

Starts a process protocol listener channel.

StopAppDomainProtocol(String, String, Boolean)

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

Stops an application domain protocol listener channel.

StopAppDomainProtocolListenerChannel(String, String, Int32, Boolean)

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

Stops an application domain protocol listener channel.

StopProcessProtocol(String, Boolean)

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

Stops a process protocol.

StopProcessProtocolListenerChannel(String, Int32, Boolean)

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

Stops a protocol listener channel.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to