HttpResponse.RegisterForDisposeAsync(IAsyncDisposable) 方法

定义

在请求完成处理后,注册一个对象供主机异步处置。

public:
 virtual void RegisterForDisposeAsync(IAsyncDisposable ^ disposable);
public virtual void RegisterForDisposeAsync (IAsyncDisposable disposable);
abstract member RegisterForDisposeAsync : IAsyncDisposable -> unit
override this.RegisterForDisposeAsync : IAsyncDisposable -> unit
Public Overridable Sub RegisterForDisposeAsync (disposable As IAsyncDisposable)

参数

disposable
IAsyncDisposable

要异步释放的对象。

适用于