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
Name | Value | Description |
---|---|---|
Default | 0 | Uses the framework default behavior for processing empty bodies.
This is typically configured using |
Allow | 1 | Empty bodies are treated as valid inputs. |
Disallow | 2 | Empty bodies are treated as invalid inputs. |