Partilhar via


RealTimeEndpoint.DesiredSessionTimerInterval Property

Gets or sets the desired session timer interval of the application. This is used only for the initial Invite or Response.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property DesiredSessionTimerInterval As Integer
    Get
    Set
'Usage
Dim instance As RealTimeEndpoint
Dim value As Integer

value = instance.DesiredSessionTimerInterval

instance.DesiredSessionTimerInterval = value
public int DesiredSessionTimerInterval { get; set; }

Property Value

Type: System.Int32

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when setting a value out of the expected range.

Remarks

The value must be greater than or equal to the MinimumSessionTimerInterval. The session timer needs to be enabled for this setting to take effect.

See Also

Reference

RealTimeEndpoint Class

RealTimeEndpoint Members

Microsoft.Rtc.Signaling Namespace