Share via


IVsSolutionEvents6.OnBeforeProjectRegisteredInRunningDocumentTable Method

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.

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

Syntax

'Declaration
Function OnBeforeProjectRegisteredInRunningDocumentTable ( _
    projectID As Guid, _
    projectFullPath As String _
) As Integer
int OnBeforeProjectRegisteredInRunningDocumentTable(
    Guid projectID,
    string projectFullPath
)
int OnBeforeProjectRegisteredInRunningDocumentTable(
    [InAttribute] Guid projectID, 
    [InAttribute] String^ projectFullPath
)
abstract OnBeforeProjectRegisteredInRunningDocumentTable : 
        projectID:Guid * 
        projectFullPath:string -> int
function OnBeforeProjectRegisteredInRunningDocumentTable(
    projectID : Guid, 
    projectFullPath : String
) : int

Parameters

  • projectID
    Type: Guid

    The project ID.

  • projectFullPath
    Type: String

    The full path of the project file.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IVsSolutionEvents6 Interface

Microsoft.VisualStudio.Shell.Interop Namespace