Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HubConnection.ServerTimeout 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.0.0
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
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 server timeout interval for the connection.

public:
 property TimeSpan ServerTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan ServerTimeout { get; set; }
member this.ServerTimeout : TimeSpan with get, set
Public Property ServerTimeout As TimeSpan

Property Value

Remarks

The client times out if it hasn't heard from the server for this long.

Applies to


Feedback

Was this page helpful?