Поделиться через


IVsAsynchOpenFromSccProjectEvents.OnLoadComplete Method

Called when an asynchronous load is done.

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

Syntax

'Declaration
Function OnLoadComplete As Integer
int OnLoadComplete()
int OnLoadComplete()
abstract OnLoadComplete : unit -> int 
function OnLoadComplete() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
A source control package does not typically expect this method to return an error code, since there is nothing the source control package can do about the error once the load is complete.

Remarks

COM Signature

From vsshell80.idl

HRESULT OnLoadComplete();

This method is called by the source control package that has completed an asynchronous load of a project or solution and all its files. This method is called only if the source control package was told to load a project asynchronously with a call to the LoadProject method.

.NET Framework Security

See Also

Reference

IVsAsynchOpenFromSccProjectEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace