WorkflowWebHostingModule.IHttpModule.Dispose 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.
Releases the resources used by the WorkflowWebHostingModule.
virtual void System.Web.IHttpModule.Dispose() = System::Web::IHttpModule::Dispose;
void IHttpModule.Dispose ();
abstract member System.Web.IHttpModule.Dispose : unit -> unit
override this.System.Web.IHttpModule.Dispose : unit -> unit
Sub Dispose () Implements IHttpModule.Dispose
Implements
Remarks
Call WorkflowWebHostingModule.IHttpModule.Dispose() when you are finished using the WorkflowWebHostingModule. The IHttpModule.Dispose() method leaves the WorkflowWebHostingModule in an unusable state. After calling IHttpModule.Dispose(), you must release all references to the WorkflowWebHostingModule object so the garbage collector can reclaim the memory that the WorkflowWebHostingModule object occupied.
Note
Always call Dispose
before you release your last reference to the WorkflowWebHostingModule. Otherwise, the resources it is using are not freed until the garbage collector calls the WorkflowWebHostingModule object's Finalize
method.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for