Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ISynchronizeInvoke::InvokeRequired Property

 

Gets a value indicating whether the caller must call Invoke when calling an object that implements this interface.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

property bool InvokeRequired {
	bool get();
}

Property Value

Type: System::Boolean

true if the caller must call Invoke; otherwise, false.

This property determines whether the caller must call Invoke when making method calls to an object that implements this interface. Such objects are bound to a specific thread and are not thread-safe. If you are calling a method from a different thread, you must use the Invoke method to marshal the call to the proper thread.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft