Skip to content

Commit f63fd6d

Browse files
committed
expand example
1 parent 5405714 commit f63fd6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-functions/functions-develop-vs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@ As with triggers, input and output bindings are added to your function as bindin
148148
{
149149
[FunctionName("CopyQueueMessage")]
150150
public static void Run(
151-
[QueueTrigger("myqueue-items-source")] string myQueueItem,
152-
[Queue("myqueue-items-destination")] out string myQueueItemCopy,
151+
[QueueTrigger("myqueue-items-source", Connection = "AzureWebJobsStorage")] string myQueueItem,
152+
[Queue("myqueue-items-destination", Connection = "AzureWebJobsStorage")] out string myQueueItemCopy,
153153
TraceWriter log)
154154
{
155155
log.Info($"CopyQueueMessage function processed: {myQueueItem}");
156156
myQueueItemCopy = myQueueItem;
157157
}
158158
}
159159
```
160-
For more information, see the reference article for the specific binding.
160+
The connection to Queue storage is obtained from the `AzureWebJobsStorage` setting. For more information, see the reference article for the specific binding.
161161

162162
[!INCLUDE [Supported triggers and bindings](../../includes/functions-bindings.md)]
163163

0 commit comments

Comments
 (0)