IServiceActivity interface (comsvcs.h)

Used to call the batch work that is submitted through the activity created by CoCreateActivity.

Inheritance

The IServiceActivity interface inherits from the IUnknown interface. IServiceActivity also has these types of members:

Methods

The IServiceActivity interface has these methods.

 
IServiceActivity::AsynchronousCall

Performs the user-defined work asynchronously.
IServiceActivity::BindToCurrentThread

Binds the user-defined batch work to the current thread.
IServiceActivity::SynchronousCall

Performs the user-defined work synchronously.
IServiceActivity::UnbindFromThread

Unbinds the user-defined batch work from the thread on which it is running.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

CServiceConfig

CoCreateActivity

IAsyncErrorNotify

IServiceCall

IServiceThreadPoolConfig