Share via


IVsThreadedWaitDialog2.HasCanceled(Boolean) Method

Definition

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.

Applies to