A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.filters.iasyncresultfilter below:

IAsyncResultFilter Interface (Microsoft.AspNetCore.Mvc.Filters) | Microsoft Learn

IAsyncResultFilter Interface Definition
Namespace:
Microsoft.AspNetCore.Mvc.Filters
Assembly:
Microsoft.AspNetCore.Mvc.Abstractions.dll
Package:
Microsoft.AspNetCore.Mvc.Abstractions v1.0.0
Package:
Microsoft.AspNetCore.Mvc.Abstractions v1.1.0
Package:
Microsoft.AspNetCore.App.Ref v10.0.0-preview.6.25358.103
Package:
Microsoft.AspNetCore.Mvc.Abstractions v2.0.0
Package:
Microsoft.AspNetCore.Mvc.Abstractions v2.1.0
Package:
Microsoft.AspNetCore.Mvc.Abstractions v2.2.0
Package:
Microsoft.AspNetCore.App.Ref v3.0.1
Package:
Microsoft.AspNetCore.App.Ref v3.1.10
Package:
Microsoft.AspNetCore.App.Ref v5.0.0
Package:
Microsoft.AspNetCore.App.Ref v6.0.6
Package:
Microsoft.AspNetCore.App.Ref v7.0.5
Package:
Microsoft.AspNetCore.App.Ref v8.0.0
Package:
Microsoft.AspNetCore.App.Ref v9.0.2
Source:
IAsyncResultFilter.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A filter that asynchronously surrounds execution of action results successfully returned from an action.

public interface class IAsyncResultFilter : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata
public interface IAsyncResultFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IAsyncResultFilter = interface
    interface IFilterMetadata
Public Interface IAsyncResultFilter
Implements IFilterMetadata
Derived
Implements
Remarks

IResultFilter and IAsyncResultFilter implementations are executed around the action result only when the action method (or action filters) complete successfully.

IResultFilter and IAsyncResultFilter instances are not executed in cases where an authorization filter or resource filter short-circuits the request to prevent execution of the action. IResultFilter. IResultFilter and IAsyncResultFilter implementations are also not executed in cases where an exception filter handles an exception by producing an action result.

To create a result filter that surrounds the execution of all action results, implement either the IAlwaysRunResultFilter or the IAsyncAlwaysRunResultFilter interface.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4