Share via


TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput) Method

Definition

Asynchronously executes the TagHelper with the given context and output.

public:
 virtual System::Threading::Tasks::Task ^ ProcessAsync(Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContext ^ context, Microsoft::AspNetCore::Razor::TagHelpers::TagHelperOutput ^ output);
public virtual System.Threading.Tasks.Task ProcessAsync (Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext context, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput output);
abstract member ProcessAsync : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput -> System.Threading.Tasks.Task
override this.ProcessAsync : Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput -> System.Threading.Tasks.Task
Public Overridable Function ProcessAsync (context As TagHelperContext, output As TagHelperOutput) As Task

Parameters

context
TagHelperContext

Contains information associated with the current HTML tag.

output
TagHelperOutput

A stateful HTML element used to generate an HTML tag.

Returns

A Task that on completion updates the output.

Implements

Remarks

By default this calls into Process(TagHelperContext, TagHelperOutput).

Applies to