Share via


IVsAppCompat.AskForUserConsentToBreakAssetCompat Method

Shows a dialog box that asks for user consent to break the compatibility of projects in a list. If the user does not agree to continue, this method throws a COMException with an ErrorCode of OLE_E_PROMPTSAVECANCELLED.

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

Syntax

'Declaration
Sub AskForUserConsentToBreakAssetCompat ( _
    sarrProjectHierarchies As Array _
)
void AskForUserConsentToBreakAssetCompat(
    Array sarrProjectHierarchies
)
void AskForUserConsentToBreakAssetCompat(
    [InAttribute] Array^ sarrProjectHierarchies
)
abstract AskForUserConsentToBreakAssetCompat : 
        sarrProjectHierarchies:Array -> unit
function AskForUserConsentToBreakAssetCompat(
    sarrProjectHierarchies : Array
)

Parameters

  • sarrProjectHierarchies
    Type: System.Array

    The list of projects whose compatibility would be broken by adding a feature.

Remarks

For more information, see How to: Modify a Project System So That Projects Load in Multiple Versions of Visual Studio.

.NET Framework Security

See Also

Reference

IVsAppCompat Interface

Microsoft.VisualStudio.Shell.Interop Namespace