confluent-kafka-dotnet
Show / Hide Table of Contents

Class ErrorAction

An error action

Inheritance
object
ErrorAction
Implements
IRuleAction
IRuleBase
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class ErrorAction : IRuleAction, IRuleBase, IDisposable

Fields

ActionType

Declaration
public static readonly string ActionType
Field Value
TypeDescription
string

Methods

Configure(IEnumerable<KeyValuePair<string, string>>, ISchemaRegistryClient)

Configure the rule executor or action

Declaration
public void Configure(IEnumerable<KeyValuePair<string, string>> config, ISchemaRegistryClient client = null)
Parameters
TypeNameDescription
IEnumerable<KeyValuePair<string, string>>config
ISchemaRegistryClientclient

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

Run(RuleContext, object, RuleException)

Run the rule action based on the rule context

Declaration
public Task Run(RuleContext ctx, object message, RuleException exception = null)
Parameters
TypeNameDescription
RuleContextctx
objectmessage
RuleExceptionexception
Returns
TypeDescription
Task

Type()

The type of rule executor or action

Declaration
public string Type()
Returns
TypeDescription
string

Implements

IRuleAction
IRuleBase
IDisposable
In this article