Freigeben über


IVsFireSolutionEvents2.FireOnAfterAsynchOpenProject Method

Definition

Caution

Open Solution from SourceControl feature is removed

Fires a solution event, OnAfterAsynchOpenProject(IVsHierarchy, Int32), after asynchronously opening a project in a nested project.

public:
 int FireOnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded);
public:
 int FireOnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded);
int FireOnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fAdded);
public int FireOnAfterAsynchOpenProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fAdded);
[System.Obsolete("Open Solution from SourceControl feature is removed")]
public int FireOnAfterAsynchOpenProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fAdded);
abstract member FireOnAfterAsynchOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
[<System.Obsolete("Open Solution from SourceControl feature is removed")>]
abstract member FireOnAfterAsynchOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Public Function FireOnAfterAsynchOpenProject (pHierarchy As IVsHierarchy, fAdded As Integer) As Integer

Parameters

pHierarchy
IVsHierarchy

[In] Pointer to the IVsHierarchy interface of the project being loaded.

fAdded
Int32

[In] Boolean. Set to true if the project is added to the solution after opening the solution. Set to false if the project is added to the solution while the solution is being opened.

Returns

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

Attributes

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsFireSolutionEvents2::FireOnAfterAsynchOpenProject(  
   [in] IVsHierarchy *pHierarchy, BOOL fAdded  
);  

Applies to