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: StringThe name of the file on which the upgrade is cancelled.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.