StaticFileOptions.OnPrepareResponse Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Durum kodu ve üst bilgiler ayarlandıktan sonra ancak gövde yazılmadan önce çağrılır. Bu, yanıt üst bilgilerini eklemek veya değiştirmek için kullanılabilir.
public:
property Action<Microsoft::AspNetCore::StaticFiles::StaticFileResponseContext ^> ^ OnPrepareResponse { Action<Microsoft::AspNetCore::StaticFiles::StaticFileResponseContext ^> ^ get(); void set(Action<Microsoft::AspNetCore::StaticFiles::StaticFileResponseContext ^> ^ value); };
public Action<Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext> OnPrepareResponse { get; set; }
member this.OnPrepareResponse : Action<Microsoft.AspNetCore.StaticFiles.StaticFileResponseContext> with get, set
Public Property OnPrepareResponse As Action(Of StaticFileResponseContext)
Özellik Değeri
Açıklamalar
OnPrepareResponse , öncesinde OnPrepareResponseAsyncçağrılır.