Share via


UIDispatcher.DoAction Method (Action)

 

Performs an action on the appropriate thread.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

public void DoAction(
    Action action
)
public:
void DoAction(
    Action^ action
)
Public Sub DoAction (
    action As Action
)

Parameters

Remarks

If a synchronization context is associated with this object, the action will be posted to that thread and performed there. If a synchronization context is not associated with this object, the action will be performed synchronously on the current thread.

See Also

UIDispatcher Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top