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

Return Value

True if port is not empty

See Also

DispatcherQueue Class

Microsoft.Ccr.Core Namespace