共用方式為


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

適用於