QueryTerminateEventArgs Constructor
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
shouldPromptUser As Boolean _
)
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
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace