ProcessHost Class

 

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

Represents a process host.

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.MarshalByRefObject
    System.Web.Hosting.ProcessHost

public sealed class ProcessHost : MarshalByRefObject, IProcessHost, 
	IAdphManager, IPphManager, IProcessHostIdleAndHealthCheck, IApplicationPreloadManager

NameDescription
System_CAPS_pubmethodCreateObjRef(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.)

System_CAPS_pubmethodEnumerateAppDomains(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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

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.(Overrides MarshalByRefObject.InitializeLifetimeService().)

System_CAPS_pubmethodIsIdle()

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the state of a process.

System_CAPS_pubmethodPing(IProcessPingCallback)

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

System_CAPS_pubmethodSetApplicationPreloadState(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.

System_CAPS_pubmethodSetApplicationPreloadUtil(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.

System_CAPS_pubmethodShutdown()

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

System_CAPS_pubmethodShutdownApplication(String)

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

System_CAPS_pubmethodStartAppDomainProtocolListenerChannel(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.

System_CAPS_pubmethodStartApplication(String, String, Object)

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

System_CAPS_pubmethodStartProcessProtocolListenerChannel(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.

System_CAPS_pubmethodStopAppDomainProtocol(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.

System_CAPS_pubmethodStopAppDomainProtocolListenerChannel(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.

System_CAPS_pubmethodStopProcessProtocol(String, Boolean)

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

System_CAPS_pubmethodStopProcessProtocolListenerChannel(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.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: