我有以下的一般壽命經理 public class RequestLifetimeManager<T> : LifetimeManager, IDisposable
{
public override object GetValue()
{
return HttpContext.Current.Items[typeof(T).AssemblyQualifie
在哪裏可以找到在.NET中開發的Windows服務生命週期的詳細視圖?我以這種方式提出了我的問題,因爲我不確定是否可以在此處發佈足夠詳細的說明,但如果您認爲可以請隨時嘗試。 一個錯誤答案的例子是來自MSDN頁面的描述的粘貼:Introduction to Windows Service Applications。它不夠詳細。例如,服務是否卸載內存不足,因此調用Dispose方法?或者只是通過OnS