共用方式為


QueryStringValueProviderFactory.CreateValueProviderAsync 方法

定義

使用目前要求中的值建立 , IValueProvider 並將它新增至 ValueProviders 清單。

public:
 virtual System::Threading::Tasks::Task ^ CreateValueProviderAsync(Microsoft::AspNetCore::Mvc::ModelBinding::ValueProviderFactoryContext ^ context);
public System.Threading.Tasks.Task CreateValueProviderAsync (Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext context);
abstract member CreateValueProviderAsync : Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext -> System.Threading.Tasks.Task
override this.CreateValueProviderAsync : Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderFactoryContext -> System.Threading.Tasks.Task
Public Function CreateValueProviderAsync (context As ValueProviderFactoryContext) As Task

參數

傳回

Task 如果適用的話,完成時會將實例新增 IValueProviderValueProviders 清單。

實作

適用於