CreateInterleaveFromDsspOperationHandlers Method
Microsoft Robotics Class Reference
Creates an Interleave arbiter using the ServiceHandler attributes on service methods of the supplied service instance
Namespace: Microsoft.Dss.ServiceModel.DsspServiceBase
Assembly: Microsoft.Dss.Runtime (in Microsoft.Dss.Runtime.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
[SecurityCriticalAttribute]
protected Interleave CreateInterleaveFromDsspOperationHandlers(
DsspServiceBase service,
IPortSet portSet,
string portFieldName,
ref List<Port<DateTime>> periodicHandlerEventPorts
)
Parameters
- service
Type: Microsoft.Dss.ServiceModel.DsspServiceBase. . :: . .DsspServiceBase
Service instance
- portSet
Type: Microsoft.Ccr.Core. . :: . .IPortSet
Service operation port instance
- portFieldName
Type: System. . :: . .String
Field name on the service class, for operations port instance
- periodicHandlerEventPorts
Type: System.Collections.Generic. . :: . .List< (Of < ( <'Port< (Of < ( <'DateTime> ) > ) >> ) > ) >%
List of port instances used to trigger periodic handlers. A DateTime instance should be posted after the resulting Interleave is activated to trigger the periodic behavior
Return Value
Remarks
This method does not activate the interleave. You must explicitly activate the interleave context