Azure Functions中的BrokeredMessage [英] BrokeredMessage in Azure Functions

查看:95
本文介绍了Azure Functions中的BrokeredMessage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用过滤器在Service Bus主题上进行探索.在此过程中,使用VS2017广告在c#中使用过滤器创建了Azure Service Bus主题,并运行了代码.这样就创建了带有主题的订阅.还向主题发送了消息.

Azure门户使用服务总线主题触发器创建了Azure功能,并给出了正确的主题名称和订阅.在这里,我观察到两个问题:

1.如何在Azure函数服务总线主题触发器中保留BrokeredMessage \ Message.当提及"Microsoft.ServiceBus"时,其表示为 找不到元数据文件'Microsoft.ServiceBus',您错过了引用程序集.

这就是和平CSX中的代码:

#r "Microsoft.ServiceBus"

解决方案

任何信息?

Exploring on Service Bus Topic with filters. In the process have created Azure Service Bus Topic with filters in c# using VS2017 ad ran the code. With this created Subscriptions with Topics.  Also sent message to Topic. 

Azure Portal, created Azure Function with Service Bus Topic Trigger, gave correct Topic Name and Subscription. Here i have observed two issues:

1. How to keep BrokeredMessage \ Message in Azure function Service Bus Topic Trigger. When referring "Microsoft.ServiceBus", its says  Metadata file 'Microsoft.ServiceBus' could not be found have you missed referring assembly.

Here is the peace of code in CSX:

#r "Microsoft.ServiceBus"

解决方案

Any info??


这篇关于Azure Functions中的BrokeredMessage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆