SessionHandlerOptions Class

Definition

public sealed class SessionHandlerOptions
type SessionHandlerOptions = class
Public NotInheritable Class SessionHandlerOptions
Inheritance
System.Object
SessionHandlerOptions

Constructors

SessionHandlerOptions(Func<ExceptionReceivedEventArgs,Task>)

Initializes a new instance of the SessionHandlerOptions class. Default Values: MaxConcurrentSessions = 2000 AutoComplete = true MessageWaitTimeout = 1 minute MaxAutoRenewDuration = 5 minutes

Properties

AutoComplete

Gets or sets whether the autocomplete option of the session handler is enabled.

ExceptionReceivedHandler

Occurs when an exception is received. Enables you to be notified of any errors encountered by the session pump. When errors are received calls will automatically be retried, so this is informational.

MaxAutoRenewDuration

Gets or sets the duration for which the session lock will be renewed automatically.

MaxConcurrentSessions

Gets or sets the maximum number of existing sessions that the User wants to handle concurrently.

MessageWaitTimeout

Gets or sets the time to wait for receiving a message.

Applies to