Bagikan melalui


DeveloperExceptionPageOptions.FileProvider Properti

Definisi

Menyediakan file yang berisi kode sumber yang digunakan untuk menampilkan informasi kontekstual pengecualian.

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

Nilai Properti

Keterangan

Jika nullDeveloperExceptionPageMiddleware akan menggunakan PhysicalFileProvider.

Berlaku untuk