Share via


IVsProjectUpgradeViaFactory2.OnUpgradeProjectCancelled(String) Method

Definition

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.

Applies to