Share via


ActionableSolutionListener.OnQueryCloseSolutionEventHandler Delegate

Represents the method that will handle the QueryCloseSolutionEvent event when it is raised.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Delegate Function OnQueryCloseSolutionEventHandler ( _
    unknownReserved As Object, _
    ByRef cancel As Integer _
) As Integer
'Usage
Dim instance As New OnQueryCloseSolutionEventHandler(AddressOf HandlerMethod)
public delegate int OnQueryCloseSolutionEventHandler(
    Object unknownReserved,
    ref int cancel
)
public delegate int OnQueryCloseSolutionEventHandler(
    Object^ unknownReserved, 
    int% cancel
)
JScript does not support delegates.
type OnQueryCloseSolutionEventHandler = 
    delegate of 
        unknownReserved:Object * 
        cancel:int -> int

Parameters

  • cancel
    Type: System.Int32%
    Specifies whether the client vetoed closing the solution

Return Value

Type: System.Int32

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace