共用方式為


IVsProjectFlavorUpgradeViaFactory.OnUpgradeProjectFlavorCancelled Method

Definition

Called if the project flavor upgrade is cancelled.

public:
 int OnUpgradeProjectFlavorCancelled(System::String ^ pszFileName);
public:
 int OnUpgradeProjectFlavorCancelled(Platform::String ^ pszFileName);
int OnUpgradeProjectFlavorCancelled(std::wstring const & pszFileName);
public int OnUpgradeProjectFlavorCancelled (string pszFileName);
abstract member OnUpgradeProjectFlavorCancelled : string -> int
Public Function OnUpgradeProjectFlavorCancelled (pszFileName As String) As Integer

Parameters

pszFileName
String

The name of the file on which the upgrade is cancelled.

Returns

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

Remarks

COM Signature

From vsshell90.idl:

HRESULT OnUpgradeProjectFlavorCancelled (  
   [in] LPCOLESTR pszFilename  
);  

Applies to