Compartilhar via


IVsRetargetProjectAsync.RetargetAsync Method

Definition

Execute the retargeting.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ RetargetAsync(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ logger, System::UInt32 dwFlags, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange ^ target, System::String ^ szProjectBackupLoaction);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ RetargetAsync(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ logger, unsigned int dwFlags, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange ^ target, Platform::String ^ szProjectBackupLoaction);
Microsoft::VisualStudio::Shell::Interop::IVsTask RetargetAsync(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane const & logger, unsigned int dwFlags, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange const & target, std::wstring const & szProjectBackupLoaction);
public Microsoft.VisualStudio.Shell.Interop.IVsTask RetargetAsync (Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane logger, uint dwFlags, Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange target, string szProjectBackupLoaction);
abstract member RetargetAsync : Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange * string -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function RetargetAsync (logger As IVsOutputWindowPane, dwFlags As UInteger, target As IVsProjectTargetChange, szProjectBackupLoaction As String) As IVsTask

Parameters

logger
IVsOutputWindowPane

The logger. Pass in the IVsOutputWindowPane interface.

dwFlags
UInt32

The flags.

target
IVsProjectTargetChange

The target.

szProjectBackupLoaction
String

The backup location.

Returns

The asynchronous task. The result from IVsTask is ignored. Only the HRESULT matters to notify success or failure.

Applies to