confluent-kafka-dotnet
Show / Hide Table of Contents

Class TopicPartitionException

Represents an error that occured during a Consumer.Position request.

Inheritance
object
Exception
KafkaException
TopicPartitionException
Implements
ISerializable
Inherited Members
KafkaException.Error
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public class TopicPartitionException : KafkaException, ISerializable

Constructors

TopicPartitionException(List<TopicPartitionError>)

Initializes a new instance of OffsetsRequestExceptoion.

Declaration
public TopicPartitionException(List<TopicPartitionError> results)
Parameters
Type Name Description
List<TopicPartitionError> results

The result corresponding to all topic partitions of the request (whether or not they were in error). At least one of these results will be in error.

Properties

Results

The result corresponding to all ConfigResources in the request (whether or not they were in error). At least one of these results will be in error.

Declaration
public List<TopicPartitionError> Results { get; }
Property Value
Type Description
List<TopicPartitionError>

Implements

ISerializable
In this article