Share via


UnprocessableEntity.IEndpointMetadataProvider.PopulateMetadata 方法

定義

填入相關 EndpointMethodInfo 的中繼資料。

static void IEndpointMetadataProvider.PopulateMetadata (System.Reflection.MethodInfo method, Microsoft.AspNetCore.Builder.EndpointBuilder builder);
static member Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider.PopulateMetadata : System.Reflection.MethodInfo * Microsoft.AspNetCore.Builder.EndpointBuilder -> unit
 Shared Sub PopulateMetadata (method As MethodInfo, builder As EndpointBuilder) Implements IEndpointMetadataProvider.PopulateMetadata

參數

method
MethodInfo

MethodInfo所建立端點之路由處理常式委派或 MVC 動作的 。

builder
EndpointBuilder

EndpointBuilder,用來建構指定 method 之 的端點。

實作

適用於