共用方式為


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)

參數

實作

適用於