IVsThreadedWaitDialog2.HasCanceled(Boolean) 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.
Determines whether the dialog was canceled.
public:
int HasCanceled([Runtime::InteropServices::Out] bool % pfCanceled);
int HasCanceled([Runtime::InteropServices::Out] bool & pfCanceled);
public int HasCanceled (out bool pfCanceled);
abstract member HasCanceled : bool -> int
Public Function HasCanceled (ByRef pfCanceled As Boolean) As Integer
Parameters
- pfCanceled
- Boolean
[out] true
if the dialog was canceled, otherwise false
.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method is safe to access from any thread.