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