Condividi tramite


QueryTerminateEventArgs Constructor

Constructs a QueryTerminateEventArgs object.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Dichiarazione
Public Sub New ( _
    shouldPromptUser As Boolean _
)
'Utilizzo
Dim shouldPromptUser As Boolean

Dim instance As New QueryTerminateEventArgs(shouldPromptUser)
public QueryTerminateEventArgs(
    bool shouldPromptUser
)
public:
QueryTerminateEventArgs(
    bool shouldPromptUser
)
new : 
        shouldPromptUser:bool -> QueryTerminateEventArgs
public function QueryTerminateEventArgs(
    shouldPromptUser : boolean
)

Parameters

  • shouldPromptUser
    Type: System.Boolean
    A Boolean value indicating if the component should prompt the user for a termination decision, if necessary.

.NET Framework Security

See Also

Reference

QueryTerminateEventArgs Class

QueryTerminateEventArgs Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace