IVsProjectUpgradeViaFactory2.OnUpgradeProjectCancelled Method
Cleans up cached items associated with the given project file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnUpgradeProjectCancelled ( _
bstrFileName As String _
) As Integer
int OnUpgradeProjectCancelled(
string bstrFileName
)
int OnUpgradeProjectCancelled(
[InAttribute] String^ bstrFileName
)
abstract OnUpgradeProjectCancelled :
bstrFileName:string -> int
function OnUpgradeProjectCancelled(
bstrFileName : String
) : int
Parameters
bstrFileName
Type: String[in] String containing the project file name.
Return Value
Type: Int32
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.
.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.