DeveloperExceptionPageOptions.FileProvider 属性

定义

提供包含用于显示异常上下文信息的源代码的文件。

public:
 property Microsoft::Extensions::FileProviders::IFileProvider ^ FileProvider { Microsoft::Extensions::FileProviders::IFileProvider ^ get(); void set(Microsoft::Extensions::FileProviders::IFileProvider ^ value); };
public Microsoft.Extensions.FileProviders.IFileProvider FileProvider { get; set; }
public Microsoft.Extensions.FileProviders.IFileProvider? FileProvider { get; set; }
member this.FileProvider : Microsoft.Extensions.FileProviders.IFileProvider with get, set
Public Property FileProvider As IFileProvider

属性值

注解

如果 nullDeveloperExceptionPageMiddleware 将使用 PhysicalFileProvider

适用于