TryDequeue Method
Microsoft Robotics Class Reference
Atomically removes an ITask instance if the port is non empty
Namespace: Microsoft.Ccr.Core
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public virtual bool TryDequeue(
out ITask task
)
Parameters
- task
Type: Microsoft.Ccr.Core. . :: . .ITask%
ITask instance if port is not empty. Null otherwise
Return Value
True if port is not empty