CommonMessagePump.IOleComponent2Private.FQueryTerminate Method

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

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace