共用方式為


FabricClientSettings.KeepAliveInterval Property

Definition

Gets the interval at which the FabricClient will ping the connected endpoint.

public TimeSpan KeepAliveInterval { get; set; }
member this.KeepAliveInterval : TimeSpan with get, set
Public Property KeepAliveInterval As TimeSpan

Property Value

The interval at which the FabricClient will ping the connected endpoint.

Remarks

The default value of the KeepAliveInterval property is 0 seconds.

This property can't be updated after the FabricClient is opened. Setting this property will throw a ArgumentException exception.

FabricClient will continue pinging as long as it has pending operations.

Applies to