LanguageService::InvokeRequired Property

 

Determines if a method must be invoked across a thread boundary.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool InvokeRequired {
	virtual bool get() sealed;
}

Property Value

Type: System::Boolean

Returns true if a method must be invoked across thread boundaries; otherwise, returns false.

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.

Return to top
Show: