다음을 통해 공유


IVsSolutionEvents6 Interface

Provides events associated with solutions.

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

Syntax

'Declaration
<GuidAttribute("9AD84AB1-5C4E-4084-B161-21B6696237CB")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsSolutionEvents6
[GuidAttribute("9AD84AB1-5C4E-4084-B161-21B6696237CB")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolutionEvents6
[GuidAttribute(L"9AD84AB1-5C4E-4084-B161-21B6696237CB")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsSolutionEvents6
[<GuidAttribute("9AD84AB1-5C4E-4084-B161-21B6696237CB")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSolutionEvents6 =  interface end
public interface IVsSolutionEvents6

The IVsSolutionEvents6 type exposes the following members.

Methods

  Name Description
Public method OnAfterProjectRegisteredInRunningDocumentTable 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.
Public method OnBeforeProjectRegisteredInRunningDocumentTable 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.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace