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
- 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.
See Also
Reference
QueryTerminateEventArgs Members
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace