ServiceHandlerBehavior Enumeration
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)
Syntax
public enum ServiceHandlerBehavior
Members
Member name | Value | Description | |
---|---|---|---|
Default | 0 | Uses the default semantic definition of the verb to decide whether the handler is considered to be concurrent, exclusive or teardown | |
Concurrent | 1 | Marks a Dssp operation handler as being concurrent to itself and other similarly marked handlers
RemarksSet only on handlers that do not modify state |
|
Exclusive | 2 | Marks a Dssp operation handler as being exclusive to itself and all other handlers marked with the Concurrent and Exclusive attributes
RemarksSet only on handlers that modify state. The attribute synchronizes access only between handlers that have used the ConcurrentServiceHandler and ExclusiveServiceHandler attributes |
|
Teardown | 3 | Marks a Dssp operation handler as a one time, exclusive tear down handler that will cause the service to shutdown | |
Independent | 4 | 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 |