DefaultModelBindingMessageProvider.SetMissingRequestBodyRequiredValueAccessor 方法

定义

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

参数

missingRequestBodyRequiredValueAccessor
Func<String>

要设置的值。

适用于