コード例 #1
0
 public void EnumerateAppDomains(out IAppDomainInfoEnum appDomainInfoEnum)
 {
     try
     {
         AppDomainInfo[] appDomainInfos = ApplicationManager.GetApplicationManager().GetAppDomainInfos();
         appDomainInfoEnum = new AppDomainInfoEnum(appDomainInfos);
     }
     catch (Exception exception)
     {
         using (new ProcessImpersonationContext())
         {
             Misc.ReportUnhandledException(exception, new string[] { System.Web.SR.GetString("Failure_AppDomain_Enum") });
         }
         throw;
     }
 }
コード例 #2
0
        public void EnumerateAppDomains( out IAppDomainInfoEnum appDomainInfoEnum )
        {
            try {
                ApplicationManager appManager = ApplicationManager.GetApplicationManager();
                AppDomainInfo [] infos;

                infos = appManager.GetAppDomainInfos();

                appDomainInfoEnum = new AppDomainInfoEnum(infos);
            }
            catch (Exception e) {
                using (new ProcessImpersonationContext()) {
                    Misc.ReportUnhandledException(e, new string[] {
                                              SR.GetString(SR.Failure_AppDomain_Enum)} );
                }
                throw;
            }
        }
コード例 #3
0
 public virtual void EnumerateAppDomains(out IAppDomainInfoEnum& appDomainInfoEnum)
 {
 }
コード例 #4
0
 public void EnumerateAppDomains(out IAppDomainInfoEnum appDomainInfoEnum)
 {
     appDomainInfoEnum = default(IAppDomainInfoEnum);
 }
コード例 #5
0
	public virtual void EnumerateAppDomains(out IAppDomainInfoEnum& appDomainInfoEnum) {}
コード例 #6
0
 public void EnumerateAppDomains(out IAppDomainInfoEnum appDomainInfoEnum)
 {
   appDomainInfoEnum = default(IAppDomainInfoEnum);
 }