FileConfigurationSource.OnLoadException 属性

定义

如果 FileConfigurationProvider.Load 中出现未捕获的异常,则调用。

public:
 property Action<Microsoft::Extensions::Configuration::FileLoadExceptionContext ^> ^ OnLoadException { Action<Microsoft::Extensions::Configuration::FileLoadExceptionContext ^> ^ get(); void set(Action<Microsoft::Extensions::Configuration::FileLoadExceptionContext ^> ^ value); };
public Action<Microsoft.Extensions.Configuration.FileLoadExceptionContext>? OnLoadException { get; set; }
member this.OnLoadException : Action<Microsoft.Extensions.Configuration.FileLoadExceptionContext> with get, set
Public Property OnLoadException As Action(Of FileLoadExceptionContext)

属性值

适用于