ProcessModelInfo::GetCurrentProcessInfo Method ()
.NET Framework (current version)
Returns information about the worker process that is executing the current request.
Assembly: System.Web (in System.Web.dll)
public: [AspNetHostingPermissionAttribute(SecurityAction::Demand, Level = AspNetHostingPermissionLevel::High)] static ProcessInfo^ GetCurrentProcessInfo()
Return Value
Type: System.Web::ProcessInfo^A ProcessInfo that contains information about the current process.
| Exception | Condition |
|---|---|
| HttpException | Process information is not available for the current request. |
The GetCurrentProcessInfo method is applicable only for applications that are running under the ASP.NET process model.
.NET Framework
Available since 1.1
Available since 1.1
Show: