다음을 통해 공유


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

‘선언
Public Sub New ( _
    shouldPromptUser As Boolean _
)
‘사용 방법
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