using System; public static void Run(string myQueueItem, TraceWriter log){ log.Info($"Queue trigger function processed: {myQueueItem}");}
using
System;
public
static
void
Run(
string
myQueueItem, TraceWriter log)
{
log.Info($
"Queue trigger function processed: {myQueueItem}"
);
}
using System; public static void Run(string input, TraceWriter log){ log.Info($"Manually triggered function called with input: {input}");}
input, TraceWriter log)
"Manually triggered function called with input: {input}"
using System; public static string Run(string input, TraceWriter log){ log.Info($"Manually triggered function with input: {input}"); return $"Using Return: {input}";}
"Manually triggered function with input: {input}"
return
$
"Using Return: {input}"
;
using System; public static string Run(string input, TraceWriter log, out string outParameter){ log.Info($"Manually triggered function with input: {input}"); outParameter = $"Using Out: {input}"; return $"Using Return: {input}";}
input, TraceWriter log,
out
outParameter)
outParameter = $
"Using Out: {input}"
using System; public static async Task<string> Run(string input, TraceWriter log, IAsyncCollector<string> queueCollector){ log.Info($"Manually triggered function with input: {input}"); await queueCollector.AddAsync($"Using Collector: {input} 1"); await queueCollector.AddAsync($"Using Collector: {input} 2"); return $"Using Return: {input}";}
async Task<
> Run(
input, TraceWriter log, IAsyncCollector<
> queueCollector)
await queueCollector.AddAsync($
"Using Collector: {input} 1"
"Using Collector: {input} 2"