HttpResponse.RegisterForDispose(IDisposable) HttpResponse.RegisterForDispose(IDisposable) HttpResponse.RegisterForDispose(IDisposable) HttpResponse.RegisterForDispose(IDisposable) Method

Definition

Registers an object for disposal by the host once the request has finished processing.

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

Parameters

disposable
IDisposable IDisposable IDisposable IDisposable

The object to be disposed.

Applies to