Dela via


CassandraConnectionError Class

Definition

The CassandraConnectionError.

public class CassandraConnectionError : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CassandraConnectionError>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CassandraConnectionError>
type CassandraConnectionError = class
    interface IJsonModel<CassandraConnectionError>
    interface IPersistableModel<CassandraConnectionError>
Public Class CassandraConnectionError
Implements IJsonModel(Of CassandraConnectionError), IPersistableModel(Of CassandraConnectionError)
Inheritance
CassandraConnectionError
Implements

Properties

ConnectionState

The kind of connection error that occurred.

Exception

Detailed error message about the failed connection.

IPFrom

The IP of host that originated the failed connection.

IPTo

The IP that the connection attempted to reach.

Port

The TCP port the connection was attempted on.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraConnectionError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CassandraConnectionError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraConnectionError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraConnectionError>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CassandraConnectionError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to