Udostępnij za pośrednictwem


LanguageService.InvokeRequired Property

Definition

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.

Applies to