confluent-kafka-dotnet
Show / Hide Table of Contents

Class CreateAclsException

Represents an error that occurred during a create ACLs request.

Inheritance
object
Exception
KafkaException
CreateAclsException
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)
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Confluent.Kafka.Admin
Assembly: Confluent.Kafka.dll
Syntax
public class CreateAclsException : KafkaException, ISerializable

Constructors

CreateAclsException(List<CreateAclReport>)

Initialize a new instance of CreateAclsException.

Declaration
public CreateAclsException(List<CreateAclReport> results)
Parameters
Type Name Description
List<CreateAclReport> results

The result corresponding to all the ACLs in 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 the ACLs in the request (whether or not they were in error). At least one of these results will be in error.

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

Methods

Equals(object)

Tests whether this CreateAclsException instance is equal to the specified object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to test.

Returns
Type Description
bool

true if obj is a CreateAclsException and the Error and Results property values are equal. false otherwise.

Overrides
object.Equals(object)

GetHashCode()

Returns a hash code for this CreateAclsException value.

Declaration
public override int GetHashCode()
Returns
Type Description
int

An integer that specifies a hash value for this CreateAclsException value.

Overrides
object.GetHashCode()

Operators

operator ==(CreateAclsException, CreateAclsException)

Tests whether CreateAclsException instance a is equal to CreateAclsException instance b.

Declaration
public static bool operator ==(CreateAclsException a, CreateAclsException b)
Parameters
Type Name Description
CreateAclsException a

The first CreateAclsException instance to compare.

CreateAclsException b

The second CreateAclsException instance to compare.

Returns
Type Description
bool

true if CreateAclsException instances a and b are equal. false otherwise.

operator !=(CreateAclsException, CreateAclsException)

Tests whether CreateAclsException instance a is not equal to CreateAclsException instance b.

Declaration
public static bool operator !=(CreateAclsException a, CreateAclsException b)
Parameters
Type Name Description
CreateAclsException a

The first CreateAclsException instance to compare.

CreateAclsException b

The second CreateAclsException instance to compare.

Returns
Type Description
bool

true if CreateAclsException instances a and b are not equal. false otherwise.

Implements

ISerializable
In this article