コード例 #1
0
 internal static bool TryGetErrorAssistanceUrl(LocalizedException exception, OrganizationProperties organizationProperties, out Uri helpUrl)
 {
     helpUrl = null;
     if (!HelpProvider.ShouldConstructHelpUrlForException(exception))
     {
         return(false);
     }
     helpUrl = HelpProvider.UrlConstructHelper("ms.exch.err.default", new string[]
     {
         HelpProvider.GetErrorParam(exception),
         HelpProvider.GetLoginInfo(),
         (organizationProperties == null) ? string.Empty : HelpProvider.ConstructServicePlanInfo(organizationProperties.ServicePlan)
     });
     return(true);
 }
コード例 #2
0
 private static string GetServicePlanInfo(ExchangeRunspaceConfiguration rbacConfiguration)
 {
     return(HelpProvider.ConstructServicePlanInfo(Utilities.GetServicePlanName(rbacConfiguration)));
 }