共用方式為


FabricClientSettings.ConnectionInitializationTimeout Property

Definition

Gets or sets the timeout after which, if the current gateway address does not respond with a valid connection, another different address is randomly selected from the gateway addresses collection.

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

Property Value

The timeout after the current gateway address does not respond with a valid connection.

Remarks

The default value of the ConnectionInitializationTimeout property is 2 seconds.

The ConnectionInitializationTimeout property must be less than the value of the ServiceChangePollInterval property.

Applies to