Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Execute the retargeting.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function RetargetAsync ( _
    logger As IVsOutputWindowPane, _
    dwFlags As UInteger, _
    target As IVsProjectTargetChange, _
    szProjectBackupLoaction As String _
) As IVsTask
IVsTask RetargetAsync(
    IVsOutputWindowPane logger,
    uint dwFlags,
    IVsProjectTargetChange target,
    string szProjectBackupLoaction
)
IVsTask^ RetargetAsync(
    [InAttribute] IVsOutputWindowPane^ logger, 
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] IVsProjectTargetChange^ target, 
    [InAttribute] String^ szProjectBackupLoaction
)
abstract RetargetAsync : 
        logger:IVsOutputWindowPane * 
        dwFlags:uint32 * 
        target:IVsProjectTargetChange * 
        szProjectBackupLoaction:string -> IVsTask
function RetargetAsync(
    logger : IVsOutputWindowPane, 
    dwFlags : uint, 
    target : IVsProjectTargetChange, 
    szProjectBackupLoaction : String
) : IVsTask
Parameters
- logger 
 Type: Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane- The logger. Pass in the IVsOutputWindowPane interface. 
- dwFlags 
 Type: UInt32- The flags. 
- target 
 Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange- The target. 
- szProjectBackupLoaction 
 Type: String- The backup location. 
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
The asynchronous task. The result from IVsTask is ignored. Only the HRESULT matters to notify success or failure.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.