LanguageService.InvokeRequired 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.
Determines if a method must be invoked across a thread boundary.
public:
property bool InvokeRequired { bool get(); };
public:
property bool InvokeRequired { bool get(); };
public bool InvokeRequired { get; }
member this.InvokeRequired : bool
Public ReadOnly Property InvokeRequired As Boolean
Property Value
Returns true
if a method must be invoked across thread boundaries; otherwise, returns false
.
Implements
Remarks
This property is typically not accessed unless it is by your own code.
The base property relies on a Control object created when the language service was instantiated. If that Control does not exist, an InvalidOperationException exception is thrown.