共用方式為


ActionConstraintProviderContext 建構函式

定義

public:
 ActionConstraintProviderContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ action, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ActionConstraints::ActionConstraintItem ^> ^ items);
public ActionConstraintProviderContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor action, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem> items);
new Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem> -> Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintProviderContext
Public Sub New (context As HttpContext, action As ActionDescriptor, items As IList(Of ActionConstraintItem))

參數

context
HttpContext

HttpContext,與要求相關。

action
ActionDescriptor

ActionDescriptor 為其建立條件約束的 。

items
IList<ActionConstraintItem>

ActionConstraintItem 物件的清單。

適用於