ApiResponseType.IsDefaultResponse Property
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.
Gets or sets a value indicating whether the response type represents a default response.
public:
property bool IsDefaultResponse { bool get(); void set(bool value); };
public bool IsDefaultResponse { get; set; }
member this.IsDefaultResponse : bool with get, set
Public Property IsDefaultResponse As Boolean
Property Value
Remarks
If an ApiDescription has a default response, then the StatusCode property should be ignored. This response will be used when a more specific response format does not apply. The common use of a default response is to specify the format for communicating error conditions.