共用方式為


IVsAsynchOpenFromSccProjectEvents Interface

Definition

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

public interface class IVsAsynchOpenFromSccProjectEvents
public interface class IVsAsynchOpenFromSccProjectEvents
__interface IVsAsynchOpenFromSccProjectEvents
[System.Runtime.InteropServices.Guid("C31C30EF-3B22-4F02-93BB-BCDA5FA192AA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsAsynchOpenFromSccProjectEvents
[<System.Runtime.InteropServices.Guid("C31C30EF-3B22-4F02-93BB-BCDA5FA192AA")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsAsynchOpenFromSccProjectEvents = interface
Public Interface IVsAsynchOpenFromSccProjectEvents
Attributes

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(UInt32) of the IVsProjectFactory2 interface.

Methods

OnFilesDownloaded(Int32, String[])

Called during an asynchronous load to indicate one or more files have been downloaded.

OnLoadComplete()

Called when an asynchronous load is done.

OnLoadFailed()

Called when downloading of project content fails.

Applies to