DefaultContentNegotiator.ExcludeMatchOnTypeOnly Propiedad

Definición

Si ExcludeMatchOnTypeOnly es true, no comparamos solo el tipo, lo que significa que devolvemos null si no podemos comparar nada más en la solicitud. Esto resulta útil para generar códigos de estado 406 (no aceptable).

public:
 property bool ExcludeMatchOnTypeOnly { bool get(); };
public bool ExcludeMatchOnTypeOnly { get; }
member this.ExcludeMatchOnTypeOnly : bool
Public ReadOnly Property ExcludeMatchOnTypeOnly As Boolean

Valor de propiedad

Boolean

Se aplica a