ConsumesAttribute.OnResourceExecuting(ResourceExecutingContext) 方法

定义

执行资源筛选器。 在执行管道的其余部分之前调用。

public:
 virtual void OnResourceExecuting(Microsoft::AspNetCore::Mvc::Filters::ResourceExecutingContext ^ context);
public void OnResourceExecuting (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext context);
abstract member OnResourceExecuting : Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext -> unit
override this.OnResourceExecuting : Microsoft.AspNetCore.Mvc.Filters.ResourceExecutingContext -> unit
Public Sub OnResourceExecuting (context As ResourceExecutingContext)

参数

实现

适用于