Handler Options Class
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.
Provides options associated with session pump processing using RegisterSessionHandler(Func<IMessageSession,Message,CancellationToken,Task>, SessionHandlerOptions) and RegisterSessionHandler(Func<IMessageSession,Message,CancellationToken,Task>, SessionHandlerOptions).
public sealed class SessionHandlerOptions
type SessionHandlerOptions = class
Public NotInheritable Class SessionHandlerOptions
Gets or sets whether the autocomplete option of the session handler is enabled.
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.
Gets or sets the duration for which the session lock will be renewed automatically.
Gets or sets the maximum number of existing sessions that the User wants to handle concurrently.
Gets or sets the time to wait for receiving a message.