This documentation is archived and is not being maintained.
ProcessModelInfo.GetCurrentProcessInfo Method
.NET Framework 1.1
Returns information about the worker process executing the current request.
[Visual Basic] Public Shared Function GetCurrentProcessInfo() As ProcessInfo [C#] public static ProcessInfo GetCurrentProcessInfo(); [C++] public: static ProcessInfo* GetCurrentProcessInfo(); [JScript] public static function GetCurrentProcessInfo() : ProcessInfo;
Return Value
A ProcessInfo that contains information about the current process.
Exceptions
| Exception Type | Condition |
|---|---|
| HttpException | Process information is not available for the current request. |
Remarks
GetCurrentProcessInfo is applicable only for applications running under the ASP.NET process model.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
ProcessModelInfo Class | ProcessModelInfo Members | System.Web Namespace
Show: