confluent-kafka-dotnet
Show / Hide Table of Contents

Class CreateAclsException

Represents an error that occurred during a create ACLs request.

Inheritance
System.Object
System.Exception
KafkaException
CreateAclsException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
KafkaException.Error
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka.Admin
Assembly: cs.temp.dll.dll
Syntax
public class CreateAclsException : KafkaException, ISerializable, _Exception

Constructors

CreateAclsException(List<CreateAclReport>)

Initialize a new instance of CreateAclsException.

Declaration
public CreateAclsException(List<CreateAclReport> results)
Parameters
Type Name Description
System.Collections.Generic.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
System.Collections.Generic.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
System.Object obj

The object to test.

Returns
Type Description
System.Boolean

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

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Returns a hash code for this CreateAclsException value.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

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

Overrides
System.Object.GetHashCode()

Operators

Equality(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
System.Boolean

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

Inequality(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
System.Boolean

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

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
In This Article