Freigeben über


DefaultModelBindingMessageProvider.SetMissingRequestBodyRequiredValueAccessor Methode

Definition

Legt die MissingRequestBodyRequiredValueAccessor-Eigenschaft fest.

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))

Parameter

missingRequestBodyRequiredValueAccessor
Func<String>

Der festzulegende Wert.

Gilt für: