Port(T) Methods
Microsoft Robotics Class Reference
The Port< (Of < ( <'T> ) > ) > type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clear |
Clears all items from the port
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Application domain unique identity for this port instance. Guaranteed to be stable for the lifetime of the port instance
(Overrides Object. . :: . .GetHashCode() () () ().) |
|
GetItems |
All items currently queued. Items are not removed from the port
|
|
GetReceivers |
Array of all receivers associated with this port
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Post |
Enqueues a message instance
|
|
PostElement |
Returns element at the beginning of FIFO
|
|
PostUnknownType |
Untyped post of an object.
|
|
RegisterReceiver |
Associates a receiver task with this port
|
|
Test() () () () |
Atomically removes a message from the port, or returns null if none present
|
|
Test(T%) |
Atomically removes a message from the port, if port is non empty.
|
|
TestForElement |
Atomically removes a message container
|
|
TestForMultipleElements |
Atomically removes multiple message containers
|
|
ToString |
Provides a detailed description of the port state including registered receivers and their hierarchy
(Overrides Object. . :: . .ToString() () () ().) |
|
TryPostUnknownType |
Attempts unsafe (untyped) post of an object.
RemarksUse to avoid possible exception thrown if item type is incompatible with the port |
|
UnregisterReceiver |
Unregisters a receiver/arbiter from the port.
|