且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Azure 函数 Blob 触发器 CloudBlockBlob 绑定

更新时间:2023-02-14 21:18:40

使用此语法进行绑定.诀窍是在属性中指定 FileAccess.ReadWrite.出于某种原因,文档相当混乱地将其称为inout".

Use this syntax for the binding. The trick is specifying FileAccess.ReadWrite in the attribute. The docs rather confusingly refer to this as "inout" for some reason.

[Blob("imageanalysis/{name}", FileAccess.ReadWrite, Connection = "AzureWebJobsStorage")] CloudBlockBlob blob, string name