共用方式為


CodeAction.PostProcessAsync 方法

定義

將後續處理步驟套用至任何 ApplyChangesOperation 的 。

protected:
 System::Threading::Tasks::Task<System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^>> ^ PostProcessAsync(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::CodeActions::CodeActionOperation ^> ^ operations, System::Threading::CancellationToken cancellationToken);
protected System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>> PostProcessAsync (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation> operations, System.Threading.CancellationToken cancellationToken);
member this.PostProcessAsync : seq<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.CodeActions.CodeActionOperation>>
Protected Function PostProcessAsync (operations As IEnumerable(Of CodeActionOperation), cancellationToken As CancellationToken) As Task(Of ImmutableArray(Of CodeActionOperation))

參數

operations
IEnumerable<CodeActionOperation>

作業清單。

cancellationToken
CancellationToken

取消語彙基元。

傳回

新的作業清單,其中包含套用至任何 ApplyChangesOperation 的後續處理步驟。

適用於