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); }
private static string GetServicePlanInfo(ExchangeRunspaceConfiguration rbacConfiguration) { return(HelpProvider.ConstructServicePlanInfo(Utilities.GetServicePlanName(rbacConfiguration))); }