IVsTrackProjectRetargetingEvents.OnRetargetingCanceledChange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fired when the retargeting operation was canceled before the change.
public:
int OnRetargetingCanceledChange(System::String ^ projRef, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pBeforeChangeHier, System::String ^ currentTargetFramework, System::String ^ newTargetFramework);
public:
int OnRetargetingCanceledChange(Platform::String ^ projRef, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pBeforeChangeHier, Platform::String ^ currentTargetFramework, Platform::String ^ newTargetFramework);
int OnRetargetingCanceledChange(std::wstring const & projRef, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pBeforeChangeHier, std::wstring const & currentTargetFramework, std::wstring const & newTargetFramework);
public int OnRetargetingCanceledChange (string projRef, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pBeforeChangeHier, string currentTargetFramework, string newTargetFramework);
abstract member OnRetargetingCanceledChange : string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * string * string -> int
Public Function OnRetargetingCanceledChange (projRef As String, pBeforeChangeHier As IVsHierarchy, currentTargetFramework As String, newTargetFramework As String) As Integer
Parameters
- projRef
- String
[in] The unique project reference name.
- pBeforeChangeHier
- IVsHierarchy
[in] The project hierarchy before the change.
- currentTargetFramework
- String
[in] The current target framework of the project.
- newTargetFramework
- String
[in] The new target framework of the project.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.