IAdviseSink::OnClose Method ()
.NET Framework (current version)
Notifies all registered advisory sinks that the object has changed from the running state to the loaded state. This method is called by a server.
Assembly: System (in System.dll)
An OnClose notification indicates that an object is making the transition from the running state to the loaded state, so its container can take appropriate measures to ensure orderly shutdown. For example, an object handler must release its pointer to the object.
For more information about IAdviseSink::OnClose, see the MSDN Library.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: