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: GuidThe project ID.
projectFullPath
Type: StringThe full path of the project file.
Return Value
Type: Int32
The HRESULT.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.