共用方式為


HttpResponseFeature.OnCompleted(Func<Object,Task>, Object) 方法

定義

註冊在回應完成之後要叫用的回呼。 這是用於資源清除。

public:
 virtual void OnCompleted(Func<System::Object ^, System::Threading::Tasks::Task ^> ^ callback, System::Object ^ state);
public virtual void OnCompleted (Func<object,System.Threading.Tasks.Task> callback, object state);
abstract member OnCompleted : Func<obj, System.Threading.Tasks.Task> * obj -> unit
override this.OnCompleted : Func<obj, System.Threading.Tasks.Task> * obj -> unit
Public Overridable Sub OnCompleted (callback As Func(Of Object, Task), state As Object)

參數

callback
Func<Object,Task>

回應完成之後要叫用的回呼。

state
Object

要傳入回呼的狀態。

實作

適用於