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

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

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

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

G. andrew Duthie; matthew Macdonald

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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









ProcessInfo

System.Web (system.web.dll)class

This class encapsulates information about the ASP.NET worker process
on the server. It is returned by the
ProcessModelInfo class. It includes properties
such as the time the process started (StartTime),
how long it has been running (Age), and the most
memory used so far in bytes (PeakMemoryUsed). The
Status property indicates the current state of a
process; the ShutdownReason property indicates why
the process was terminated, unless it is the current process.

public class 

ProcessInfo {
// Public Constructors
public

ProcessInfo ( );
public

ProcessInfo (DateTime

startTime , TimeSpan

age , int

processID , int

requestCount , ProcessStatus

status ,
ProcessShutdownReason

shutdownReason , int

peakMemoryUsed );
// Public Instance Properties
public TimeSpan

Age {get; }
public int

PeakMemoryUsed {get; }
public int

ProcessID {get; }
public int

RequestCount {get; }
public ProcessShutdownReason

ShutdownReason {get; }
public DateTime

StartTime {get; }
public ProcessStatus

Status {get; }
// Public Instance Methods
public void

SetAll (DateTime

startTime , TimeSpan

age , int

processID , int

requestCount , ProcessStatus

status ,
ProcessShutdownReason

shutdownReason , int

peakMemoryUsed );
}



Returned By


ProcessModelInfo.{GetCurrentProcessInfo( ),
GetHistory( )}


/ 873