NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISynchronizeInvoke.InvokeRequired

Determines if the caller must call invoke when making method calls to object that implements this interface. Such objects are bound to a specific thread and are not thread safe. Therefore, if you are calling an method from a different thread, you must use the invoke method to marshal the call to the proper thread.

[Visual Basic]
ReadOnly Property InvokeRequired As Boolean
[C#]
bool InvokeRequired {get;}
[C++]
bool get_InvokeRequired() = 0;
[JScript]
abstract function get InvokeRequired() : Boolean;

Property Value

true if the control's main thread is differnet than the calling thread, indicating that you should make calls to the control through the invoke method.

See Also

ISynchronizeInvoke Interface | ISynchronizeInvoke Members | System.ComponentModel Namespace