Table of Contents

Class ActivityTriggerAttribute

Namespace
Microsoft.Azure.WebJobs
Assembly
Microsoft.Azure.WebJobs.Extensions.DurableTask.dll

Trigger attribute used for durable activity functions.

[AttributeUsage(AttributeTargets.Parameter)]
public sealed class ActivityTriggerAttribute : Attribute
Inheritance
ActivityTriggerAttribute
Inherited Members

Constructors

ActivityTriggerAttribute()

public ActivityTriggerAttribute()

Properties

Activity

Gets or sets the name of the activity function.

public string Activity { get; set; }

Property Value

string

The name of the activity function or null to use the function name.