azure-functions-dotnet-worker/docs/analyzer-rules/AZFW0007.md

24 строки
751 B
Markdown
Исходник Обычный вид История

# AZFW0007: Multiple HTTP response binding types for Azure Function
| | Value |
|-|-|
| **Rule ID** |AZFW0007|
| **Category** |[AzureFunctionsSyntax]|
| **Severity** |Error|
## Cause
This rule is triggered when there are multiple HTTP response binding types associated with an Azure Function.
## Rule description
Each Azure Function can have only one HTTP response binding type.
## How to fix violations
2023-06-27 01:07:58 +03:00
Make sure you have only one HTTP response binding type associated with a function. If you have a custom return type, please check all of the properties to verify that there is only one HTTP response binding type.
## When to suppress warnings
2023-06-27 01:07:58 +03:00
This rule should not be suppressed because this error will prevent your functions from running.