HttpWorkerRequest.SetEndOfSendNotification 方法

定义

在发送所有响应数据后注册可选通知。

public:
 virtual void SetEndOfSendNotification(System::Web::HttpWorkerRequest::EndOfSendNotification ^ callback, System::Object ^ extraData);
public virtual void SetEndOfSendNotification (System.Web.HttpWorkerRequest.EndOfSendNotification callback, object extraData);
abstract member SetEndOfSendNotification : System.Web.HttpWorkerRequest.EndOfSendNotification * obj -> unit
override this.SetEndOfSendNotification : System.Web.HttpWorkerRequest.EndOfSendNotification * obj -> unit
Public Overridable Sub SetEndOfSendNotification (callback As HttpWorkerRequest.EndOfSendNotification, extraData As Object)

参数

callback
HttpWorkerRequest.EndOfSendNotification

在发送所有数据(带外)后调用的通知回调。

extraData
Object

回调的附加参数。

注解

实现缓冲区回收时,此方法可能很有用。

适用于