Bagikan melalui


IVsRetargetProjectAsync.RetargetAsync Method

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

  • dwFlags
    Type: UInt32

    The flags.

  • 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

See Also

Reference

IVsRetargetProjectAsync Interface

Microsoft.VisualStudio.Shell.Interop Namespace