Compartir a través de


IVsTrackProjectRetargetingEvents.OnRetargetingCanceledChange Method

Fired when the retargeting operation was canceled before the change.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function OnRetargetingCanceledChange ( _
    projRef As String, _
    pBeforeChangeHier As IVsHierarchy, _
    currentTargetFramework As String, _
    newTargetFramework As String _
) As Integer
int OnRetargetingCanceledChange(
    string projRef,
    IVsHierarchy pBeforeChangeHier,
    string currentTargetFramework,
    string newTargetFramework
)
int OnRetargetingCanceledChange(
    [InAttribute] String^ projRef, 
    [InAttribute] IVsHierarchy^ pBeforeChangeHier, 
    [InAttribute] String^ currentTargetFramework, 
    [InAttribute] String^ newTargetFramework
)
abstract OnRetargetingCanceledChange : 
        projRef:string * 
        pBeforeChangeHier:IVsHierarchy * 
        currentTargetFramework:string * 
        newTargetFramework:string -> int
function OnRetargetingCanceledChange(
    projRef : String, 
    pBeforeChangeHier : IVsHierarchy, 
    currentTargetFramework : String, 
    newTargetFramework : String
) : int

Parameters

  • projRef
    Type: String

    [in] The unique project reference name.

  • currentTargetFramework
    Type: String

    [in] The current target framework of the project.

  • newTargetFramework
    Type: String

    [in] The new target framework of the project.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsTrackProjectRetargetingEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace