Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HubConnection.KeepAliveInterval Property
Definition
- Namespace:
- Microsoft.AspNetCore.SignalR.Client
- Assembly:
- Microsoft.AspNetCore.SignalR.Client.Core.dll
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v10.0.0
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v1.1.0
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v3.0.3
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v3.1.18
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v5.0.9
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v6.0.6
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v7.0.5
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v8.0.19
- Package:
- Microsoft.AspNetCore.SignalR.Client.Core v9.0.8
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
- Source:
- HubConnection.cs
Important
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.
Gets or sets the interval at which the client sends ping messages.
public:
property TimeSpan KeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan KeepAliveInterval { get; set; }
member this.KeepAliveInterval : TimeSpan with get, set
Public Property KeepAliveInterval As TimeSpan
Property Value
Remarks
Sending any message resets the timer to the start of the interval.
Applies to
Feedback
Was this page helpful?
