Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class EventingFunction

    Eventing Functions offers a computing paradigm using which developers can handle data changes via the handlers of OnUpdate or OnDelete. Resources are managed at or above the Eventing Function level, and the containing Eventing Function scopes the state of all handlers.

    Inheritance
    object
    EventingFunction
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Couchbase.Management.Eventing
    Assembly: Couchbase.NetClient.dll
    Syntax
    [JsonConverter(typeof(EventingFunctionConverter))]
    public class EventingFunction

    Properties

    | Edit this page View Source

    Code

    The handler's code.

    Declaration
    public string Code { get; set; }
    Property Value
    Type Description
    string
    Remarks

    Required. The minimum length is 1.

    | Edit this page View Source

    EnforceSchema

    Enforces stricter validation for all settings and configuration fields.

    Declaration
    public bool EnforceSchema { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    FunctionInstanceId

    Unique id of the deployment of the handler. Generated by server.

    Declaration
    public string FunctionInstanceId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    HandlerUuid

    Unique id of the the handler. Generated by server.

    Declaration
    public long HandlerUuid { get; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    MetaDataKeySpace

    Declaration
    public EventingFunctionKeyspace MetaDataKeySpace { get; set; }
    Property Value
    Type Description
    EventingFunctionKeyspace
    | Edit this page View Source

    Name

    The app name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    Remarks

    Required. The minimum length is 1 and the max length is 100.

    | Edit this page View Source

    Settings

    Any additional configuration settings.

    Declaration
    public EventingFunctionSettings Settings { get; set; }
    Property Value
    Type Description
    EventingFunctionSettings
    Remarks

    Required.

    | Edit this page View Source

    SourceKeySpace

    Declaration
    public EventingFunctionKeyspace SourceKeySpace { get; set; }
    Property Value
    Type Description
    EventingFunctionKeyspace
    | Edit this page View Source

    Version

    Authoring tool. use 'external' if authored or edited outside eventing ui.

    Declaration
    public string Version { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    ToJson()

    Declaration
    public string ToJson()
    Returns
    Type Description
    string
    | Edit this page View Source

    ToJson(EventingFunctionKeyspace)

    Declaration
    public string ToJson(EventingFunctionKeyspace managementScope)
    Parameters
    Type Name Description
    EventingFunctionKeyspace managementScope
    Returns
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.