Message.CriticalSection Method (Action)

 

Invokes a statement within a thread-safe critical section.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

protected void CriticalSection(
    Action action
)
protected:
void CriticalSection(
    Action^ action
)
Protected Sub CriticalSection (
    action As Action
)

Parameters

  • action
    Type: System.Action

    Action delegate to execute within the critical section.

See Also

CriticalSection Overload
Message Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top