Beispiel #1
0
 public static Uri ConstructHelpRenderingUrl()
 {
     return(HelpProvider.UrlConstructHelper("default", new string[]
     {
         HelpProvider.GetLoginInfo()
     }));
 }
Beispiel #2
0
 internal static Uri ConstructHelpRenderingUrl(ExchangeRunspaceConfiguration rbacConfiguration)
 {
     return(HelpProvider.UrlConstructHelper("default", new string[]
     {
         HelpProvider.GetLoginInfo(),
         HelpProvider.GetServicePlanInfo(rbacConfiguration)
     }));
 }
Beispiel #3
0
 public static Uri ConstructTenantEventUrl(string source, string category, string eventId, string locale)
 {
     return(HelpProvider.ConstructFinalHelpUrl(HelpProvider.baseUrl, "ms.exch.evt.default", locale, new string[]
     {
         HelpProvider.GetEventParam(source, category, eventId),
         HelpProvider.GetLoginInfo()
     }));
 }
Beispiel #4
0
 public static Uri ConstructTenantEventUrl(string source, string category, string eventId)
 {
     return(HelpProvider.UrlConstructHelper("ms.exch.evt.default", new string[]
     {
         HelpProvider.GetEventParam(source, category, eventId),
         HelpProvider.GetLoginInfo()
     }));
 }
Beispiel #5
0
        public static Uri ConstructHelpRenderingUrl(string helpAttributeId)
        {
            string contentId = HelpProvider.GetAppQualifier() + helpAttributeId;

            return(HelpProvider.UrlConstructHelper(contentId, new string[]
            {
                HelpProvider.GetLoginInfo()
            }));
        }
Beispiel #6
0
        public static Uri ConstructHelpRenderingUrl(ErrorRecord errorRecord)
        {
            string text = "e=" + "ms.exch.err." + errorRecord.Exception.GetType();

            return(HelpProvider.UrlConstructHelper("ms.exch.err.default", new string[]
            {
                text,
                HelpProvider.GetLoginInfo()
            }));
        }
Beispiel #7
0
        internal static Uri ConstructHelpRenderingUrl(string helpAttributeId, ExchangeRunspaceConfiguration rbacConfiguration)
        {
            string contentId = HelpProvider.GetAppQualifier() + helpAttributeId;

            return(HelpProvider.UrlConstructHelper(contentId, new string[]
            {
                HelpProvider.GetLoginInfo(),
                HelpProvider.GetServicePlanInfo(rbacConfiguration)
            }));
        }
Beispiel #8
0
        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)
            }));
        }
Beispiel #9
0
 public static bool TryGetErrorAssistanceUrl(LocalizedException exception, 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()
     });
     return(true);
 }
Beispiel #10
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);
 }
Beispiel #11
0
 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);
 }