我正在尝试使用我的Azure功能的应用程序设置添加一些自定义绑定.我需要从我的设置中只收到一个字符串.
我想从我的设置中获得simpleValue.
{
"bindings": [
{
"name": "someValue",
"type": "stringSetting",
"connection": "simpleValue",
"direction": "in"
}
],
"disabled": false
}
Run Code Online (Sandbox Code Playgroud)
并在Run方法中获取它:
static void GetOrders(TraceWriter log, string someValue)
{
log.Info(someValue);
}
Run Code Online (Sandbox Code Playgroud)
它甚至可能吗?也许有其他方法可以做到这一点?