EditorControl::FQueryTerminate Method (Int32)

 

Called when the component manager wishes to know whether the component is in a state in which it can terminate.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int FQueryTerminate(
	int fPromptUser
) override

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

true if the component can terminate, otherwise false.

By default this method is not implemented and returns true.

Return to top
Show: