Export (0) Print
Expand All

ProcessHost Class

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

Represents a process host.

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

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

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

The ProcessHost type exposes the following members.

  NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodEnumerateAppDomainsProvides access to an enumerable set of application domains.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceInfrastructure. Gives the process host an infinite lifetime by preventing a lease from being created. (Overrides MarshalByRefObject::InitializeLifetimeService().)
Public methodIsIdleInfrastructure. Gets the state of a process.
Public methodPingInfrastructure. Pings a process.
Public methodSetApplicationPreloadStateNotifies ASP.NET that a particular application that is running on IIS 7.0 is configured to be preloaded.
Public methodSetApplicationPreloadUtilCreates a type that calls IIS 7.0 to get information that is required in order to preload an application.
Public methodShutdownUnloads the process host.
Public methodShutdownApplicationInfrastructure. Shuts down the specified application.
Public methodStartAppDomainProtocolListenerChannelStarts an application domain protocol listener channel.
Public methodStartApplicationStarts the specified application.
Public methodStartProcessProtocolListenerChannelStarts a process protocol listener channel.
Public methodStopAppDomainProtocolInfrastructure. Stops an application domain protocol listener channel.
Public methodStopAppDomainProtocolListenerChannelStops an application domain protocol listener channel.
Public methodStopProcessProtocolInfrastructure. Stops a process protocol.
Public methodStopProcessProtocolListenerChannelStops a protocol listener channel.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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