Example #1
0
        public static string GetThrottlingInfo(TaskContext context)
        {
            string result = null;

            context.TryGetItem <string>("ThrottlingInfo", ref result);
            return(result);
        }
Example #2
0
        public static LocalizedString GetDelayedInfo(TaskContext context)
        {
            LocalizedString empty = LocalizedString.Empty;

            context.TryGetItem <LocalizedString>("DelayedInfo", ref empty);
            return(empty);
        }