共用方式為


OwinFeatureCollection.IHttpResponseFeature.OnStarting 方法

定義

 virtual void Microsoft.AspNetCore.Http.Features.IHttpResponseFeature.OnStarting(Func<System::Object ^, System::Threading::Tasks::Task ^> ^ callback, System::Object ^ state) = Microsoft::AspNetCore::Http::Features::IHttpResponseFeature::OnStarting;
void IHttpResponseFeature.OnStarting (Func<object,System.Threading.Tasks.Task> callback, object state);
abstract member Microsoft.AspNetCore.Http.Features.IHttpResponseFeature.OnStarting : Func<obj, System.Threading.Tasks.Task> * obj -> unit
override this.Microsoft.AspNetCore.Http.Features.IHttpResponseFeature.OnStarting : Func<obj, System.Threading.Tasks.Task> * obj -> unit
Sub OnStarting (callback As Func(Of Object, Task), state As Object) Implements IHttpResponseFeature.OnStarting

參數

callback
Func<Object,Task>
state
Object

實作

適用於