FileContextActionBase Constructor
Definition
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.
Initializes a new instance of the FileContextActionBase class.
public:
FileContextActionBase(Func<IProgress<Microsoft::VisualStudio::Workspace::IFileContextActionProgressUpdate ^> ^, System::Threading::CancellationToken, System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::IFileContextActionResult ^> ^> ^ callback);
public FileContextActionBase (Func<IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate>,System.Threading.CancellationToken,System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IFileContextActionResult>> callback);
new Microsoft.VisualStudio.Workspace.FileContextActionBase : Func<IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate>, System.Threading.CancellationToken, System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IFileContextActionResult>> -> Microsoft.VisualStudio.Workspace.FileContextActionBase
Public Sub New (callback As Func(Of IProgress(Of IFileContextActionProgressUpdate), CancellationToken, Task(Of IFileContextActionResult)))
Parameters
- callback
- Func<IProgress<IFileContextActionProgressUpdate>,CancellationToken,Task<IFileContextActionResult>>
Callback function to invoke when executing the action