public void OnUnload(object o, EventArgs args) { if (appserver != null) { appserver.DestroyHost(this); } }