我有两个天蓝色功能,一个是处理消息,另一个是发送电子邮件。
我想首先在本地测试如何从另一个函数调用一个函数并在本地运行?
function1 - 服务总线触发
[FunctionName("procesmessage")]
public static void Run([ServiceBusTrigger("demo", "demo", AccessRights.Manage, Connection = "ServiceBusConnectionString")]string mySbMsg, TraceWriter log)
{
// how to call another azure function here locally?
function2 - http 触发器
[FunctionName("EmailNotification")]
public static async Task<HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)]HttpRequestMessage req, TraceWriter log)
{
温温酱
相关分类