ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









ProcessModelInfo

System.Web (system.web.dll)class

ASP.NET includes automated features for restarting a process when
memory leaks or crashes occur. This class allows you to retrieve
information about how the ASP.NET worker process is performing, along
with the history of approximately the last 100 process restarts (a
process restart may be in response to an unrecoverble error, blocked
thread, or just automatic maintaince when a certain time or memory
threshold is reached, according to
machine.config settings). This gives you a basic
idea about the health of your web application and the ASP.NET
service.

You can use the static (shared) GetCurrentProcessInfo(
)
method to retrieve a ProcessInfo
object representing the current process. You can also use the static
GetHistory( ) method and supply the number of
ProcessInfo objects that you want as an argument.
The method will return an array of ProcessInfo
objects, starting with the most recent (current) process.

public class 

ProcessModelInfo {
// Public Constructors
public

ProcessModelInfo ( );
// Public Static Methods
public static ProcessInfo

GetCurrentProcessInfo ( );
public static ProcessInfo[ ]

GetHistory (int

numRecords );
}




/ 873