Share via


IVsPersistSolutionProps2.OnSolutionLoadFailure Method

Method for the package to call when a solution fails to load.

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

Syntax

'Declaration
Function OnSolutionLoadFailure ( _
    pszKey As String _
) As Integer
int OnSolutionLoadFailure(
    string pszKey
)
int OnSolutionLoadFailure(
    [InAttribute] String^ pszKey
)
abstract OnSolutionLoadFailure : 
        pszKey:string -> int
function OnSolutionLoadFailure(
    pszKey : String
) : int

Parameters

  • pszKey
    Type: System.String

    [in] Pointer to a string containing the key used when creating the solution.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsPersistSolutionProps2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace