Partilhar via


DelegateSearchTask Constructor

Definition

Creates an instance of DelegateSearchTask.

public:
 DelegateSearchTask(System::UInt32 dwCookie, Microsoft::VisualStudio::Shell::Interop::IVsSearchQuery ^ searchQuery, Microsoft::VisualStudio::Shell::Interop::IVsSearchCallback ^ searchCallback, Action<Microsoft::VisualStudio::PlatformUI::DelegateSearchTask ^> ^ searchAction);
public DelegateSearchTask (uint dwCookie, Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery searchQuery, Microsoft.VisualStudio.Shell.Interop.IVsSearchCallback searchCallback, Action<Microsoft.VisualStudio.PlatformUI.DelegateSearchTask> searchAction);
new Microsoft.VisualStudio.PlatformUI.DelegateSearchTask : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery * Microsoft.VisualStudio.Shell.Interop.IVsSearchCallback * Action<Microsoft.VisualStudio.PlatformUI.DelegateSearchTask> -> Microsoft.VisualStudio.PlatformUI.DelegateSearchTask
Public Sub New (dwCookie As UInteger, searchQuery As IVsSearchQuery, searchCallback As IVsSearchCallback, searchAction As Action(Of DelegateSearchTask))

Parameters

dwCookie
UInt32

The cookie.

searchQuery
IVsSearchQuery

The search query.

searchCallback
IVsSearchCallback

The search callback.

searchAction
Action<DelegateSearchTask>

The search action.

Applies to