IVsRetargetProjectAsync.RetargetAsync Method

Definition

Execute the retargeting.

C++/CX
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);

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

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022