WebEventProvider.Shutdown 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.
Performs tasks associated with shutting down the provider.
public:
abstract void Shutdown();
public abstract void Shutdown ();
abstract member Shutdown : unit -> unit
Public MustOverride Sub Shutdown ()
Examples
The following code example shows how to use the Shutdown method.
// Shutdown the provider.
public override void Shutdown()
{
Flush();
}
' Shutdown the provider.
Public Overrides Sub Shutdown()
Flush()
End Sub
Remarks
ASP.NET calls the Shutdown method when the application domain hosting the Web application terminates. The method is called to perform tasks that will allow the application to end gracefully, such as closing resources.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.