您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

SessionHandlerOptions SessionHandlerOptions SessionHandlerOptions Class

Definition

Represents the options for the session handler.

public class SessionHandlerOptions
type SessionHandlerOptions = class
Public Class SessionHandlerOptions
Inheritance
SessionHandlerOptionsSessionHandlerOptionsSessionHandlerOptions

Constructors

SessionHandlerOptions() SessionHandlerOptions() SessionHandlerOptions()

Initializes a new instance of the SessionHandlerOptions class.

Properties

AutoComplete AutoComplete AutoComplete

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

AutoRenewTimeout AutoRenewTimeout AutoRenewTimeout

Gets or sets the time needed before the session renew its state.

MaxConcurrentSessions MaxConcurrentSessions MaxConcurrentSessions

Gets or sets the maximum number of existing sessions.

MessageWaitTimeout MessageWaitTimeout MessageWaitTimeout

Gets or sets the time needed before the message waiting expires.

Events

ExceptionReceived ExceptionReceived ExceptionReceived

Occurs when an exception was received during session handling.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to