HttpResponse.RegisterForDispose(IDisposable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The object to be disposed.