ProcessSessionEventArgs.ReleaseSession 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 session that is being processed. No receives will be initiated for the session and the session will be closed. The session may end up being reopened for processing immediately after closing if there are messages remaining in the session ( This depends on what other session messages may be in the queue or subscription).
public virtual void ReleaseSession ();
abstract member ReleaseSession : unit -> unit
override this.ReleaseSession : unit -> unit
Public Overridable Sub ReleaseSession ()