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
Azure SDK for .NET