IAcceptsMetadata.ContentTypes 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 a list of the allowed request content types.
If the incoming request does not have a Content-Type with one of these values, the request will be rejected with a 415 response.
public System.Collections.Generic.IReadOnlyList<string> ContentTypes { get; }
member this.ContentTypes : System.Collections.Generic.IReadOnlyList<string>
Public ReadOnly Property ContentTypes As IReadOnlyList(Of String)