/// <summary> /// Specifies the type of exception that this policy can handle if found as an InnerException of a regular <see cref="Exception"/>, or at any level of nesting within an <see cref="AggregateException"/>. /// </summary> /// <typeparam name="TException">The type of the exception to handle.</typeparam> /// <returns>The PolicyBuilder instance, for fluent chaining.</returns> public static PolicyBuilder HandleInner <TException>() where TException : Exception { return(new PolicyBuilder(PolicyBuilder.HandleInner(ex => ex is TException))); }