Пример #1
0
 public static void Run([HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req, TraceWriter log)
 {
     log.Info("C# CheckNews HTTP trigger function processed a request.");
     NewsChecker.StartNewsCheck(log);
 }
Пример #2
0
 public static void Run([TimerTrigger("0 0 4 * * *")] TimerInfo myTimer, TraceWriter log)
 {
     log.Info("C# CheckNews HTTP trigger function processed a request.");
     NewsChecker.StartNewsCheck(log);
 }