共用方式為


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>

要設定的值。

適用於