CommonMessagePump.IOleComponent.FQueryTerminate Method
Called when the component manager wishes to know if the component is in a state in which it can terminate.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Function FQueryTerminate ( _
fPromptUser As Integer _
) As Integer Implements IOleComponent.FQueryTerminate
int IOleComponent.FQueryTerminate(
int fPromptUser
)
Parameters
- fPromptUser
Type: System.Int32
true if the user should be prompted, otherwise false.
Return Value
Type: System.Int32
true if it is possible to terminate, otherwise false.
Implements
IOleComponent.FQueryTerminate(Int32)
Remarks
See FQueryTerminate for more information.
.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.