Condividi tramite


HubConnectionBuilderHttpExtensions.WithStatefulReconnect Metodo

Definizione

Configura l'oggetto HttpConnectionOptions per negoziare la riconnessione con stato con il server.

public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithStatefulReconnect (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder);
static member WithStatefulReconnect : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithStatefulReconnect (hubConnectionBuilder As IHubConnectionBuilder) As IHubConnectionBuilder

Parametri

hubConnectionBuilder
IHubConnectionBuilder

Oggetto IHubConnectionBuilder da configurare.

Restituisce

Stessa istanza di IHubConnectionBuilder per il concatenamento.

Si applica a