Receive(T) Method (Port(T))

Microsoft Robotics Class Reference

Iterator use only. Creates a one time receiver that satisfies the yield operation and leaves the received item in the port

Namespace: Microsoft.Ccr.Core
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

public static Receiver Receive<T>(
    this Port<T> port
)

Parameters

Type Parameters

  • T
    [Missing <typeparam name="T"/> documentation for "M:Microsoft.Ccr.Core.PortExtensions.Receive``1(Microsoft.Ccr.Core.Port{``0})"]

Return Value

Receiver instance for yielding execution

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Port< (Of < ( <'T> ) > ) >. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

PortExtensions Class

Receive Overload

Microsoft.Ccr.Core Namespace