Share via


ServiceBase Members

Microsoft Robotics Class Reference

The ServiceBase type exposes the following members.

Constructors

  Name Description
Protected method ServiceBase() () () ()
Default constructor
Protected method ServiceBase(DispatcherQueue)
Initialization constructor
Protected method ServiceBase(ServiceBase)
Cloning constructor
Protected method ServiceBase(ServiceEnvironment)
Initialization constructor

Methods

  Name Description
Public method Activate< (Of < <' (T> ) > > )
Submits CCR tasks to the dispatcher port for execution. If the task was a receiver orchestration like join or choice, executing it means registering constraints on ports to guard the execution of user code
(Inherited from CcrServiceBase.)
Protected method Cleanup(Handler)
Post a Shutdown message instance on the internal cleanup port and invokes the supplied delegate before the default cleanup handler
Protected method Cleanup(Handler< (Of < <' (Shutdown> ) > > ))
Post a Shutdown message instance on the internal cleanup port and invokes the supplied delegate before the default cleanup handler
Protected method DefaultCleanup
Registers a delegate which will trigger when a Shutdown message is posted on the CleanupPort port associated with this class instance
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 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 Init
Initialization method. Assigns TaskQueue field from Environment.TaskQueue
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method Spawn(Handler)
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method Spawn< (Of < <' (T0> ) > > )(T0, Handler< (Of < <' (T0> ) > > ))
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method Spawn< (Of < <' (T0, T1> ) > > )(T0, T1, Handler< (Of < <' (T0, T1> ) > > ))
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method Spawn< (Of < <' (T0, T1, T2> ) > > )(T0, T1, T2, Handler< (Of < <' (T0, T1, T2> ) > > ))
Invoke a message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method SpawnIterator(IteratorHandler)
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method SpawnIterator< (Of < <' (T0> ) > > )(T0, IteratorHandler< (Of < <' (T0> ) > > ))
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method SpawnIterator< (Of < <' (T0, T1> ) > > )(T0, T1, IteratorHandler< (Of < <' (T0, T1> ) > > ))
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method SpawnIterator< (Of < <' (T0, T1, T2> ) > > )(T0, T1, T2, IteratorHandler< (Of < <' (T0, T1, T2> ) > > ))
Invoke an iterator-based message handler asynchronously, supplying any arguments explicitly.
(Inherited from CcrServiceBase.)
Protected method TimeoutPort(Int32)
Creates a port to receive a time signal, registers a timeout with the sequencer, supplying the private port.
(Inherited from CcrServiceBase.)
Protected method TimeoutPort(TimeSpan)
Creates a port to receive a time signal, registers a timeout with the sequencer, supplying the private port.
(Inherited from CcrServiceBase.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected method UpdateEnvironment
Update the TaskQueue instance with the one in the supplied result

Properties

  Name Description
Protected property CleanupPort
Default cleanup port for this instance.
Protected property Environment
Service environment
Protected property FileStoreConstructorPort
FileStore Constructor Service
Protected property ResourceManagerPort
Resource manager
Protected property SerializerPort
Serializer
Protected property TaskQueue
Dispatcher port associated with this instance. Used by Activate() calls to schedule tasks
(Inherited from CcrServiceBase.)
Protected property WinFormsServicePort
WinForms Service

See Also

ServiceBase Class

Microsoft.Dss.Core Namespace