Вот код: < /p>
Код: Выделить всё
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Logging;
[Function("ResizeImage")]
public async Task Run([BlobTrigger("function-sale-response/{name}", Connection = "AzureWebJobsStorage")] ReadOnlyMemory inputData, string name)
{
await Task.Delay(1000); // Simulate some processing delay
var stream = new MemoryStream(inputData.ToArray());
return new ResizeImageOutput
{
ResizedImage = stream
};
}
не может преобразовать входной параметр 'inputstream' type 'System.io.Stream' from Type 'System.ReadlyMemory'
Подробнее здесь: https://stackoverflow.com/questions/796 ... lobtrigger
Мобильная версия