Partager via


DefaultModelBindingMessageProvider.SetMissingRequestBodyRequiredValueAccessor Méthode

Définition

Définit la propriété MissingRequestBodyRequiredValueAccessor.

public:
 void SetMissingRequestBodyRequiredValueAccessor(Func<System::String ^> ^ missingRequestBodyRequiredValueAccessor);
public void SetMissingRequestBodyRequiredValueAccessor (Func<string> missingRequestBodyRequiredValueAccessor);
member this.SetMissingRequestBodyRequiredValueAccessor : Func<string> -> unit
Public Sub SetMissingRequestBodyRequiredValueAccessor (missingRequestBodyRequiredValueAccessor As Func(Of String))

Paramètres

missingRequestBodyRequiredValueAccessor
Func<String>

Valeur à définir.

S’applique à