CodeAction.PostProcessAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將後續處理步驟套用至任何 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 的後續處理步驟。