Partilhar via


IVsSolutionEvents6 Interface

Definition

Provides events associated with solutions.

public interface class IVsSolutionEvents6
public interface class IVsSolutionEvents6
__interface IVsSolutionEvents6
[System.Runtime.InteropServices.Guid("9AD84AB1-5C4E-4084-B161-21B6696237CB")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolutionEvents6
public interface IVsSolutionEvents6
[<System.Runtime.InteropServices.Guid("9AD84AB1-5C4E-4084-B161-21B6696237CB")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSolutionEvents6 = interface
type IVsSolutionEvents6 = interface
Public Interface IVsSolutionEvents6
Derived
Attributes

Remarks

Introduced in Visual Studio 2013 Update 2. To reference the correct assembly version, see Referencing Assemblies Delivered in the Visual Studio 2013 SDK Update 2.

Methods

OnAfterProjectRegisteredInRunningDocumentTable(Guid, String, UInt32)

The notification that is fired during project creation, after the solution has registered the project file in the RunningDocumentTable. This event can be used to find out the docCookie value that was assigned to the project in the RDT. Note: If the solution's call to RegisterAndLockDocument failed, then docCookie will be VSCOOKIE_NIL. Clients of this event are expected to explicitly recognize this case and react accordingly. For example, a client may want to re-register their project placeholder document in the RDT.

OnBeforeProjectRegisteredInRunningDocumentTable(Guid, String)

A notification fired during project creation, before the solution attempts to register the project file in the RunningDocumentTable. This event can be used to find out when to unregister a project placeholder document from the RDT so as to not block the opening of the real project.

Applies to