PortSet Methods

Microsoft Robotics
Microsoft Robotics Class Reference

The PortSet type exposes the following members.

  Name Description
Protected method AllocatePort<(Of <<'(TYPE>)>>)
Allocates a Port instance of the specified type
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method Static member FindTypeFromRuntimeType
finds a type match between the runtime type of an object and the type array elements, considering sub type matching
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Static member ImplicitChoiceOperator
Converts a IPortSet instance to a Choice with a branch for each port type
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PostUnknownType
Untyped post of a message.
Public method Test<(Of <<'(T>)>>)
Atomically removes a message from the port, or returns null if none present
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method TryPostUnknownType
Attempts unsafe (untyped) post of a message instance.

Use to avoid possible exception thrown if message type is incompatible with the port
Show: