Class CreateAclsException
Represents an error that occurred during a create ACLs request.
Implements
Inherited Members
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
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
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. |