IsBlocked Property  
 

Indicates whether the control is waiting for an operation to complete.

Syntax

object.IsBlocked

Remarks

The IsBlocked property can be used to determine whether the control is currently waiting for an operation to complete, such as establishing a connection, retrieving provider or model information, or sending a prompt to a model.

When a request is sent using the SendMessage method, the control will wait until the request has completed, the server has responded, or a timeout has occurred. If a request is performed in the main UI thread of the application, it is recommended that the application display some visual indication that the operation is in progress.

This property is primarily intended for applications that need to monitor the state of the control while processing other events or performing operations that may take a noticeable amount of time to complete.

Data Type

Boolean

See Also

IsConnected Property, LastError Property, Timeout Property, Connect Method, SendMessage Method