Aracılığıyla paylaş


StatusCodePagesOptions.HandleAsync Özellik

Tanım

Verilen StatusCodeContextiçin yanıt gövdesini oluşturan işleyici. Varsayılan olarak bu, durum kodunu içeren bir düz metin yanıtı oluşturur.

public:
 property Func<Microsoft::AspNetCore::Diagnostics::StatusCodeContext ^, System::Threading::Tasks::Task ^> ^ HandleAsync { Func<Microsoft::AspNetCore::Diagnostics::StatusCodeContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Diagnostics::StatusCodeContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Diagnostics.StatusCodeContext,System.Threading.Tasks.Task> HandleAsync { get; set; }
member this.HandleAsync : Func<Microsoft.AspNetCore.Diagnostics.StatusCodeContext, System.Threading.Tasks.Task> with get, set
Public Property HandleAsync As Func(Of StatusCodeContext, Task)

Özellik Değeri

Şunlara uygulanır