ArmCosmosDBModelFactory.CassandraConnectionError Method
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.
Initializes a new instance of CassandraConnectionError.
public static Azure.ResourceManager.CosmosDB.Models.CassandraConnectionError CassandraConnectionError (Azure.ResourceManager.CosmosDB.Models.CassandraConnectionState? connectionState = default, string ipFrom = default, string ipTo = default, int? port = default, string exception = default);
static member CassandraConnectionError : Nullable<Azure.ResourceManager.CosmosDB.Models.CassandraConnectionState> * string * string * Nullable<int> * string -> Azure.ResourceManager.CosmosDB.Models.CassandraConnectionError
Public Shared Function CassandraConnectionError (Optional connectionState As Nullable(Of CassandraConnectionState) = Nothing, Optional ipFrom As String = Nothing, Optional ipTo As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional exception As String = Nothing) As CassandraConnectionError
Parameters
- connectionState
- Nullable<CassandraConnectionState>
The kind of connection error that occurred.
- 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.
Returns
A new CassandraConnectionError instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET