IVsProjectUpgradeViaFactory2::OnUpgradeProjectCancelled Method (String^)

 

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)

int OnUpgradeProjectCancelled(
	String^ bstrFileName
)

Parameters

bstrFileName
Type: System::String^

[in] String containing the project file name.

Return Value

Type: System::Int32

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

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.

Return to top
Show: