Search Results for

    Show / Hide Table of Contents

    Class ExceptionExtensions

    Static extension helper methods on Exception.

    Inheritance
    Object
    ExceptionExtensions
    Namespace: actionETL
    Assembly: actionETL.dll
    Syntax
    public static class ExceptionExtensions

    Methods

    AddData(Exception, Object, Object)

    Adds the key and value to the Data dictionary, the contents of which is normally logged. Typically used in an exception filter, which then adds the data without catching the exception.

    Declaration
    public static bool AddData(this Exception exception, object key, object value)
    Parameters
    Type Name Description
    Exception exception

    The exception.

    Object key

    The key.

    Object value

    The value.

    Returns
    Type Description
    Boolean

    false

    In This Article
    Back to top Copyright © 2023 Envobi Ltd