Comparteix a través de


FileConfigurationExtensions.GetFileLoadExceptionHandler Método

Definición

Obtiene el objeto IFileProvider predeterminado que se va a usar para los proveedores basados en archivos.

public:
[System::Runtime::CompilerServices::Extension]
 static Action<Microsoft::Extensions::Configuration::FileLoadExceptionContext ^> ^ GetFileLoadExceptionHandler(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ builder);
public static Action<Microsoft.Extensions.Configuration.FileLoadExceptionContext>? GetFileLoadExceptionHandler (this Microsoft.Extensions.Configuration.IConfigurationBuilder builder);
static member GetFileLoadExceptionHandler : Microsoft.Extensions.Configuration.IConfigurationBuilder -> Action<Microsoft.Extensions.Configuration.FileLoadExceptionContext>
<Extension()>
Public Function GetFileLoadExceptionHandler (builder As IConfigurationBuilder) As Action(Of FileLoadExceptionContext)

Parámetros

Devoluciones

IConfigurationBuilder.

Se aplica a