共用方式為


NetworkingOptions.OpenConnectionTimeout 屬性

定義

警告

Use ConnectionOptions.OpenConnectionTimeout

OpenConnectionTimeout 屬性會指定連線開啟前的逾時,假設連線已失敗

public TimeSpan OpenConnectionTimeout { get; set; }
[System.Obsolete("Use ConnectionOptions.OpenConnectionTimeout")]
public TimeSpan OpenConnectionTimeout { get; set; }
member this.OpenConnectionTimeout : TimeSpan with get, set
[<System.Obsolete("Use ConnectionOptions.OpenConnectionTimeout")>]
member this.OpenConnectionTimeout : TimeSpan with get, set
Public Property OpenConnectionTimeout As TimeSpan

屬性值

屬性

適用於