Thread.IsInterrupted Property
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.
Tests whether this thread has been interrupted.
public virtual bool IsInterrupted { [Android.Runtime.Register("isInterrupted", "()Z", "GetIsInterruptedHandler")] get; }
[<get: Android.Runtime.Register("isInterrupted", "()Z", "GetIsInterruptedHandler")>]
member this.IsInterrupted : bool
Property Value
true
if this thread has been interrupted;
false
otherwise.
- Attributes
Remarks
Tests whether this thread has been interrupted. The interrupted status of the thread is unaffected by this method.
A thread interruption ignored because a thread was not alive at the time of the interrupt will be reflected by this method returning false.
Java documentation for java.lang.Thread.isInterrupted()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.