TagHelperOutput.GetChildContentAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
GetChildContentAsync() |
자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다. |
GetChildContentAsync(Boolean) |
자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다. |
GetChildContentAsync(HtmlEncoder) |
scope 지정된 |
GetChildContentAsync(Boolean, HtmlEncoder) |
scope 지정된 |
GetChildContentAsync()
- Source:
- TagHelperOutput.cs
- Source:
- TagHelperOutput.cs
자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync ();
member this.GetChildContentAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync () As Task(Of TagHelperContent)
반환
Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.
설명
이 메서드는 암기됩니다. 여러 번의 호출로 인해 자식이 페이지의 원래 HtmlEncoder로 다시 실행되지 않습니다.
적용 대상
GetChildContentAsync(Boolean)
- Source:
- TagHelperOutput.cs
- Source:
- TagHelperOutput.cs
자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(bool useCachedResult);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (bool useCachedResult);
member this.GetChildContentAsync : bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (useCachedResult As Boolean) As Task(Of TagHelperContent)
매개 변수
- useCachedResult
- Boolean
이면 true
여러 번의 호출로 인해 페이지의 원래 HtmlEncoder로 자식이 다시 실행되지 않고 캐시된 콘텐츠가 반환됩니다.
반환
Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.
적용 대상
GetChildContentAsync(HtmlEncoder)
- Source:
- TagHelperOutput.cs
- Source:
- TagHelperOutput.cs
scope 지정된 encoder
를 사용하여 자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (System.Text.Encodings.Web.HtmlEncoder encoder);
member this.GetChildContentAsync : System.Text.Encodings.Web.HtmlEncoder -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (encoder As HtmlEncoder) As Task(Of TagHelperContent)
매개 변수
- encoder
- HtmlEncoder
HtmlEncoder 페이지에서 C# 이외의 식을 처리할IHtmlContent 때 사용할 입니다.
이면 null
페이지의 현재 HtmlEncoder를 사용하여 자식을 실행합니다.
반환
Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.
설명
이 메서드는 암기됩니다. 동일한 HtmlEncoder instance 여러 번의 호출로 인해 자식이 scope 해당 인코더로 다시 실행되지 않습니다.
적용 대상
GetChildContentAsync(Boolean, HtmlEncoder)
- Source:
- TagHelperOutput.cs
- Source:
- TagHelperOutput.cs
scope 지정된 encoder
를 사용하여 자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.
public:
System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(bool useCachedResult, System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (bool useCachedResult, System.Text.Encodings.Web.HtmlEncoder encoder);
member this.GetChildContentAsync : bool * System.Text.Encodings.Web.HtmlEncoder -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (useCachedResult As Boolean, encoder As HtmlEncoder) As Task(Of TagHelperContent)
매개 변수
- useCachedResult
- Boolean
이면 true
동일한 HtmlEncoder 여러 호출로 인해 자식이 다시 실행되지 않고 캐시된 콘텐츠가 반환됩니다.
- encoder
- HtmlEncoder
HtmlEncoder 페이지에서 C# 이외의 식을 처리할IHtmlContent 때 사용할 입니다.
이면 null
페이지의 현재 HtmlEncoder를 사용하여 자식을 실행합니다.
반환
Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.
적용 대상
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기