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); }
internal static bool TryGetErrorAssistanceUrl(LocalizedException exception, ExchangeRunspaceConfiguration rbacConfiguration, 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(), HelpProvider.GetServicePlanInfo(rbacConfiguration) }); return(true); }