IVsProjectUpgradeViaFactory2.OnUpgradeProjectCancelled(String) 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.
Cleans up cached items associated with the given project file.
public:
int OnUpgradeProjectCancelled(System::String ^ bstrFileName);
public:
int OnUpgradeProjectCancelled(Platform::String ^ bstrFileName);
int OnUpgradeProjectCancelled(std::wstring const & bstrFileName);
public int OnUpgradeProjectCancelled (string bstrFileName);
abstract member OnUpgradeProjectCancelled : string -> int
Public Function OnUpgradeProjectCancelled (bstrFileName As String) As Integer
Parameters
- bstrFileName
- String
[in] String containing the project file name.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method may be called even if the project does not require upgrading because a different project in the solution may require upgrading. Thus the possibility of a cancelled upgrade exists even though the specific project does not require upgrading.