confluent-kafka-dotnet
Show / Hide Table of Contents

Class ErrorCodeExtensions

Provides extension methods on the ErrorCode enumeration.

Inheritance
System.Object
ErrorCodeExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka
Assembly: cs.temp.dll.dll
Syntax
public static class ErrorCodeExtensions

Methods

GetReason(ErrorCode)

Returns the static error string associated with the particular ErrorCode value.

Declaration
public static string GetReason(this ErrorCode code)
Parameters
Type Name Description
ErrorCode code
Returns
Type Description
System.String