Share via


SnapInBase.InvokeRequired Property

 

Gets a value that indicates whether the caller must call the Invoke or the BeginInvoke methods when calling a method on a snap-in component. This distinction is necessary when the caller is on a different thread than the thread that the snap-in was created on.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public bool InvokeRequired { get; }
public:
property bool InvokeRequired {
    virtual bool get() sealed;
}
abstract InvokeRequired : bool with get
override InvokeRequired : bool with get
Public ReadOnly Property InvokeRequired As Boolean

Property Value

Type: System.Boolean

Whether the caller must call the Invoke or the BeginInvoke methods.

Implements

ISynchronizeInvoke.InvokeRequired

See Also

SnapInBase Class
Microsoft.ManagementConsole Namespace

Return to top