net9.0
namespace Microsoft.AspNetCore.Connections
{
public static class ConnectionTimeoutExtensions
{
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor | DynamicallyAccessedMemberTypes.PublicProperties, typeof(ConnectionTimeoutOptions))]
[UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "Addressed with [DynamicDependency]")]
public static IServiceCollection! AddConnectionTimeout(this IServiceCollection! services, IConfigurationSection! section);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 3.1 |
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.ConnectionTimeout , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.ConnectionTimeout (9.0.0-alpha.1.23456.10) net8.0 |
Preview | TBD: This API is marked as experimental.(more details) |
Platform Restrictions | This API is supported on all platforms. |