Gets a value which indicates if the current thread is performing a blocking client operation.
Returns true if the current thread is blocking, otherwise returns false.
The IsBlocked property returns true if the current thread is blocked performing an operation. Because the Windows Sockets API only permits one blocking operation per thread of execution, this property should be checked before starting any blocking operation in response to an event.
If the IsBlocked property returns false, this means there are no blocking operations on the current thread at that time. However, this does not guarantee that the next client operation will not fail. An application should always check the return value from a client operation and check the value of the LastError property if an error occurs.
Note that this property will return true if there is any blocking operation being performed by the current thread, regardless of whether this specific instance of the class is responsible for the blocking operation or not.