共用方式為


IVsThreadedWaitDialog2.EndWaitDialog(Int32) Method

Definition

Closes the wait dialog.

public:
 int EndWaitDialog([Runtime::InteropServices::Out] int % pfCanceled);
int EndWaitDialog([Runtime::InteropServices::Out] int & pfCanceled);
public int EndWaitDialog (out int pfCanceled);
abstract member EndWaitDialog : int -> int
Public Function EndWaitDialog (ByRef pfCanceled As Integer) As Integer

Parameters

pfCanceled
Int32

[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