internal static Uri ConstructHelpRenderingUrl(ExchangeRunspaceConfiguration rbacConfiguration) { return(HelpProvider.UrlConstructHelper("default", new string[] { HelpProvider.GetLoginInfo(), HelpProvider.GetServicePlanInfo(rbacConfiguration) })); }
internal static Uri ConstructHelpRenderingUrl(string helpAttributeId, ExchangeRunspaceConfiguration rbacConfiguration) { string contentId = HelpProvider.GetAppQualifier() + helpAttributeId; return(HelpProvider.UrlConstructHelper(contentId, new string[] { HelpProvider.GetLoginInfo(), HelpProvider.GetServicePlanInfo(rbacConfiguration) })); }
internal static Uri ConstructHelpRenderingUrl(ErrorRecord errorRecord, ExchangeRunspaceConfiguration rbacConfiguration) { string text = "e=" + "ms.exch.err." + errorRecord.Exception.GetType(); return(HelpProvider.UrlConstructHelper("ms.exch.err.default", new string[] { text, HelpProvider.GetLoginInfo(), HelpProvider.GetServicePlanInfo(rbacConfiguration) })); }
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); }