Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called when the component manager wishes to know whether the component is in a state in which it can terminate.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Function FQueryTerminate ( _
fPromptUser As Integer _
) As Integer Implements IOleComponent2Private.FQueryTerminate
int IOleComponent2Private.FQueryTerminate(
int fPromptUser
)
private:
virtual int FQueryTerminate(
int fPromptUser
) sealed = IOleComponent2Private::FQueryTerminate
private abstract FQueryTerminate :
fPromptUser:int -> int
private override FQueryTerminate :
fPromptUser:int -> int
JScript does not support explicit interface implementations.
Parameters
- fPromptUser
Type: System.Int32
true if the component should prompt the user if it needs to terminate, false if it should not prompt the user.
Return Value
Type: System.Int32
Always returns 1.
Implements
IOleComponent2Private.FQueryTerminate(Int32)
.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.