ConnectionError Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConnectionError() |
Initializes a new instance of the ConnectionError class. |
ConnectionError(String, String, String, Nullable<Int32>, String) |
Initializes a new instance of the ConnectionError class. |
ConnectionError()
Initializes a new instance of the ConnectionError class.
public ConnectionError ();
Public Sub New ()
Applies to
ConnectionError(String, String, String, Nullable<Int32>, String)
Initializes a new instance of the ConnectionError class.
public ConnectionError (string connectionState = default, string iPFrom = default, string iPTo = default, int? port = default, string exception = default);
new Microsoft.Azure.Management.CosmosDB.Models.ConnectionError : string * string * string * Nullable<int> * string -> Microsoft.Azure.Management.CosmosDB.Models.ConnectionError
Public Sub New (Optional connectionState As String = Nothing, Optional iPFrom As String = Nothing, Optional iPTo As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional exception As String = Nothing)
Parameters
- connectionState
- String
The kind of connection error that occurred. Possible values include: 'Unknown', 'OK', 'OperatorToDataCenterNetworkError', 'DatacenterToDatacenterNetworkError', 'InternalOperatorToDataCenterCertificateError', 'InternalError'
- iPFrom
- String
The IP of host that originated the failed connection.
- iPTo
- String
The IP that the connection attempted to reach.
- exception
- String
Detailed error message about the failed connection.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應