SingleTaskIdleManager.IOleComponent.FQueryTerminate(Int32) Method       
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the component manager wishes to know if the component is in a state in which it can terminate.
 virtual int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FQueryTerminate(int fPromptUser) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::FQueryTerminate; virtual int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FQueryTerminate(int fPromptUser) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::FQueryTerminate;int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FQueryTerminate(int fPromptUser);int IOleComponent.FQueryTerminate(int fPromptUser);abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.FQueryTerminate : int -> int
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FQueryTerminate : int -> intFunction FQueryTerminate (fPromptUser As Integer) As Integer Implements IOleComponent.FQueryTerminateParameters
- fPromptUser
- Int32
true if the user should be prompted, otherwise false.
Returns
If fPromptUser is false, the component should simply return true if it can terminate, false otherwise. If fPromptUser is true, the component should return true if it can terminate without prompting the user. Otherwise it should prompt the user, either asking the user if it can terminate and returning true or false appropriately, or giving an indication as to why it cannot terminate and returning false.