ProcessSessionEventArgs.ReleaseSession Method

Definition

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 ()

Applies to