Share via


Task(T0, T1, T2) Members

Microsoft Robotics Class Reference

The Task< (Of < ( <'T0, T1, T2> ) > ) > type exposes the following members.

Constructors

  Name Description
Public method Task< (Of < ( <'T0, T1, T2> ) > ) >(Handler< (Of < <' (T0, T1, T2> ) > > ))
Constructs a typed task instance associated with a delegate
Public method Task< (Of < ( <'T0, T1, T2> ) > ) >(T0, T1, T2, Handler< (Of < <' (T0, T1, T2> ) > > ))
Constructs a typed task instance associated with a delegate given some arguments

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method Execute
Invoked by the dispatcher to execute the Handler associated with the task
(Overrides TaskCommon. . :: . .Execute() () () ().)
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 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.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PartialClone
Shallow clone of this task instance
(Overrides TaskCommon. . :: . .PartialClone() () () ().)
Public method ToString
Human readable description of the handler associated with the task
(Overrides Object. . :: . .ToString() () () ().)

Fields

  Name Description
Protected field Param0
Typed parameter passed to user delegate on task execution
Protected field Param1
Typed parameter passed to user delegate on task execution
Protected field Param2
Typed parameter passed to user delegate on task execution

Properties

  Name Description
Public property ArbiterCleanupHandler
Set by a top level arbiter so it can execute logic on task completion
(Inherited from TaskCommon.)
Public property Item
Indexer for arguments associated with the task
(Overrides TaskCommon. . :: . .Item[ ( [ ( Int32] ) ] ).)
Public property LinkedIterator
Iterator that needs to be processed once current task completes
(Inherited from TaskCommon.)
Public property PortElementCount
Number of valid arguments associated with this task
(Overrides TaskCommon. . :: . .PortElementCount.)
Public property TaskQueue
Dispatcher queue to use for scheduling any tasks
(Inherited from TaskCommon.)

See Also

Task< (Of < ( <'T0, T1, T2> ) > ) > Class

Microsoft.Ccr.Core Namespace