Share via


IVsProjectFlavorUpgradeViaFactory.OnUpgradeProjectFlavorCancelled Method

Called if the project flavor upgrade is cancelled.

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

Syntax

'Declaration
Function OnUpgradeProjectFlavorCancelled ( _
    pszFileName As String _
) As Integer
int OnUpgradeProjectFlavorCancelled(
    string pszFileName
)
int OnUpgradeProjectFlavorCancelled(
    [InAttribute] String^ pszFileName
)
abstract OnUpgradeProjectFlavorCancelled : 
        pszFileName:string -> int
function OnUpgradeProjectFlavorCancelled(
    pszFileName : String
) : int

Parameters

  • pszFileName
    Type: System.String

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

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsProjectFlavorUpgradeViaFactory Interface

Microsoft.VisualStudio.Shell.Interop Namespace