ISuspendibleRegisteredObject Interface
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.
Listens for suspend and resume notifications.
public interface class ISuspendibleRegisteredObject : System::Web::Hosting::IRegisteredObject
public interface ISuspendibleRegisteredObject : System.Web.Hosting.IRegisteredObject
type ISuspendibleRegisteredObject = interface
interface IRegisteredObject
Public Interface ISuspendibleRegisteredObject
Implements IRegisteredObject
- Implements
Remarks
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.
Methods
Stop(Boolean) |
Requests a registered object to unregister. (Inherited from IRegisteredObject) |
Suspend() |
Called when ASP.NET notifies an application that a process is being suspended. |
Applies to
Thread Safety
Instance members of this type are not guaranteed to be thread safe. You can call the Suspend() method at any time, including during a call to another method on this same object, during calls to other objects' Suspend() methods, or even during a call to this object's Suspend() method. Because the execution of these methods is multithreaded, there is an interval in which the Suspend() method can be called even after a call to the UnregisterObject(IRegisteredObject) method has completed.
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기