Share via


Manual Triggers

Manual C# Function

The following example is a function that must be triggered manually. The Azure portal is one way to trigger a function manually.

using System;

[NoAutomaticTrigger]
public static void Run(string input, TraceWriter log)
{
    log.Info($"This is a manually triggered C# function with input: {input}");
}

Takeaways

  • The portal contains an optional request body section for entering input manually.
  • A function can be manually triggered. The portal or Azure command line tools are ways to do this.

Read more