ISuspendibleRegisteredObject Interface

[Supported in the .NET Framework 4.5.1 and later versions]

Listens for suspend and resume notifications.

Namespace:  System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

public interface ISuspendibleRegisteredObject : IRegisteredObject

The ISuspendibleRegisteredObject type exposes the following members.

Public methodStopRequests a registered object to unregister. (Inherited from IRegisteredObject.)
Public methodSuspend[Supported in the .NET Framework 4.5.1 and later versions] Called when ASP.NET notifies an application that a process is being suspended.

If an application passes to the RegisterObject method an object that implements the ISuspendibleRegisteredObject interface, the hosting environment will subscribe the object to listen for suspend or resume notifications.

.NET Framework

Supported in: 4.5.2, 4.5.1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft