Compartilhar via


IVsAsynchOpenFromSccProjectEvents Interface

Provides progress information during asynchronous loading of a project or solution from source control.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("C31C30EF-3B22-4F02-93BB-BCDA5FA192AA")> _
Public Interface IVsAsynchOpenFromSccProjectEvents
[InterfaceTypeAttribute()]
[GuidAttribute("C31C30EF-3B22-4F02-93BB-BCDA5FA192AA")]
public interface IVsAsynchOpenFromSccProjectEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"C31C30EF-3B22-4F02-93BB-BCDA5FA192AA")]
public interface class IVsAsynchOpenFromSccProjectEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("C31C30EF-3B22-4F02-93BB-BCDA5FA192AA")>]
type IVsAsynchOpenFromSccProjectEvents =  interface end
public interface IVsAsynchOpenFromSccProjectEvents

The IVsAsynchOpenFromSccProjectEvents type exposes the following members.

Methods

  Name Description
Public method OnFilesDownloaded Called during an asynchronous load to indicate one or more files have been downloaded.
Public method OnLoadComplete Called when an asynchronous load is done.
Public method OnLoadFailed Called when downloading of project content fails.

Top

Remarks

The source control package looks for this interface only if the package supports the IVsAsynchOpenFromScc interface.

Notes to Implementers

A project implements this interface when it wants to do asynchronous loading of projects and solutions from source control. If a project uses the IVsAsynchOpenFromScc interface for source control, it should also implement this interface, although it is not required.

Notes to Callers

The source control package looks for this interface on the current project. If it finds the interface, the package calls the interface to indicate the progress of an asynchronous load.

You can determine whether or not a project supports this interface by calling the GetAsynchOpenProjectType of the IVsProjectFactory2 interface.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace