Edit

Share via


WorkflowWebHostingModule.IHttpModule.Dispose Method

Definition

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