HubConnectionBuilderExtensions.WithKeepAliveInterval 메서드

정의

에 대한 KeepAliveInterval을 구성합니다 HubConnection.

public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithKeepAliveInterval (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, TimeSpan interval);
static member WithKeepAliveInterval : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * TimeSpan -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithKeepAliveInterval (hubConnectionBuilder As IHubConnectionBuilder, interval As TimeSpan) As IHubConnectionBuilder

매개 변수

hubConnectionBuilder
IHubConnectionBuilder

구성할 IHubConnectionBuilder입니다.

interval
TimeSpan

에 대한 KeepAliveInterval입니다 HubConnection.

반환

연결을 위한 IHubConnectionBuilder의 동일한 인스턴스입니다.

적용 대상