IVsAsynchOpenFromScc::IsLoadingContent Method (IVsHierarchy^, Int32)
Visual Studio 2015
This method determines if loading is complete for a solution or project being loaded asynchronously.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] The solution or project hierarchy to check loading for.
- pfIsLoading
-
Type:
System::Int32
[out] Returns nonzero (TRUE) if the hierarchy's contents are still being loaded from source control. Otherwise, returns zero (FALSE), indicating that loading is complete.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl
HRESULT IsLoadingContent(
[in] IVsHierarchy *pHierarchy,
[out] BOOL *pfIsLoading
);
An alternative method for a project to determine if a load has completed is to implement the IVsAsynchOpenFromSccProjectEvents interface and wait for the source control package to call the OnLoadComplete method.
Show: