Class ErrorAction
An error action
Inherited Members
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class ErrorAction : IRuleAction, IRuleBase, IDisposable
Fields
ActionType
Declaration
public static readonly string ActionType
Field Value
| Type | Description |
|---|---|
| string |
Methods
Configure(IEnumerable<KeyValuePair<string, string>>)
Configure the rule executor or action
Declaration
public void Configure(IEnumerable<KeyValuePair<string, string>> config)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<KeyValuePair<string, string>> | config |
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
| Type | Name | Description |
|---|---|---|
| RuleContext | ctx | |
| object | message | |
| RuleException | exception |
Returns
| Type | Description |
|---|---|
| Task |
Type()
The type of rule executor or action
Declaration
public string Type()
Returns
| Type | Description |
|---|---|
| string |