IAcceptsMetadata.ContentTypes Propiedad

Definición

Obtiene una lista de los tipos de contenido de solicitud permitidos. Si la solicitud entrante no tiene un tipo de contenido con uno de estos valores, la solicitud se rechazará con una respuesta 415.

public System.Collections.Generic.IReadOnlyList<string> ContentTypes { get; }
member this.ContentTypes : System.Collections.Generic.IReadOnlyList<string>
Public ReadOnly Property ContentTypes As IReadOnlyList(Of String)

Valor de propiedad

IReadOnlyList<String>

Se aplica a