我已经安装了 SendGrid Nugget,但我仍然无法在我的代码中使用它。 我不断收到此错误:
SendGrid is not an attribute class
尽管我认为我已经安装了需要安装的所有内容:
我在这里缺少什么?可能是一些愚蠢的事情,但我无法弄清楚。
最佳答案
您可能想要Microsoft.Azure.WebJobs.Extensions.SendGrid它为 Azure Functions 提供 SendGrid 绑定(bind)。
基本的 SendGrid 库对 Azure Functions 完全一无所知。
关于c# - SendGrid 不是属性类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60277780/