ServiceHandlerBehavior Enumeration

Microsoft Robotics
Microsoft Robotics Class Reference
Dss service handler behavior regarding concurrency

Namespace: Microsoft.Dss.Core.Attributes
Assembly: Microsoft.Dss.Base (in Microsoft.Dss.Base.dll) Version: 4.0.261.0 (4.0.261.0)

public enum ServiceHandlerBehavior

Member nameValueDescription
Default0 Uses the default semantic definition of the verb to decide whether the handler is considered to be concurrent, exclusive or teardown
Concurrent1 Marks a Dssp operation handler as being concurrent to itself and other similarly marked handlers

Set only on handlers that do not modify state
Exclusive2 Marks a Dssp operation handler as being exclusive to itself and all other handlers marked with the Concurrent and Exclusive attributes

Set only on handlers that modify state. The attribute synchronizes access only between handlers that have used the ConcurrentServiceHandler and ExclusiveServiceHandler attributes
Teardown3 Marks a Dssp operation handler as a one time, exclusive tear down handler that will cause the service to shutdown
Independent4 Marks a Dssp operation handler as completely independent of all other handlers It will execute concurrently to all other handlers (exclusive and concurrent) including the teardown handler
Show: