共用方式為


FileConfigurationSource.OnLoadException 屬性

定義

如果在 FileConfigurationProvider 中發生未攔截的例外狀況,則會呼叫。

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)

屬性值

適用於