Udostępnij za pośrednictwem


IVsReferenceManagerUserReloadRequired Interface

Definition

Provides a method that is called once when it is actually time to apply any changes that require re loading of the project to make the updates.

public interface class IVsReferenceManagerUserReloadRequired
public interface class IVsReferenceManagerUserReloadRequired
__interface IVsReferenceManagerUserReloadRequired
[System.Runtime.InteropServices.Guid("400C66C9-5272-418C-9113-1C9BDFD7D7BA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)]
public interface IVsReferenceManagerUserReloadRequired
[System.Runtime.InteropServices.Guid("400C66C9-5272-418C-9113-1C9BDFD7D7BA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsReferenceManagerUserReloadRequired
[<System.Runtime.InteropServices.Guid("400C66C9-5272-418C-9113-1C9BDFD7D7BA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FOleAutomation)>]
type IVsReferenceManagerUserReloadRequired = interface
[<System.Runtime.InteropServices.Guid("400C66C9-5272-418C-9113-1C9BDFD7D7BA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsReferenceManagerUserReloadRequired = interface
Public Interface IVsReferenceManagerUserReloadRequired
Attributes

Methods

ApplyReloadRequiredReferenceChanges(Boolean)

Reference Manager calls this method once when it is actually time to apply any changes that require re loading of the project to make the updates. Projects that have reference changes that require reloading the project can add them to a queue when IVsReferenceManagerUser.ChangeReferences is called rather than applying them immediately and forcing possibly multiple project reloads. After all changes from all referenceProviderContexts have been propagated, then the ReferenceManager dialog will make a single call to ApplyReloadRequiredReferenceChanges. The Expected behavior is to apply all possible changes that were queued up by prior calls to IVsReferenceManagerUser.ChangeReferences and return a single error through HRESULT+IErrorInfo mechanism. If the reference changes are being aborted for any reason, then ApplyReloadRequiredReferenceChanges(cancelOperation:true) will be called to give the project a chance to clean up any state it has queued.

Applies to