EmptyBodyBehavior Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the behavior for processing empty bodies during input formatting.
public enum class EmptyBodyBehavior
public enum EmptyBodyBehavior
type EmptyBodyBehavior =
Public Enum EmptyBodyBehavior
- Inheritance
-
EmptyBodyBehavior
Fields
Allow | 1 | Empty bodies are treated as valid inputs. |
Default | 0 | Uses the framework default behavior for processing empty bodies.
This is typically configured using |
Disallow | 2 | Empty bodies are treated as invalid inputs. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for