Edit

Share via


IMTSActivity interface (comsvcs.h)

[IMTSActivity is available for use in the operating systems specified in the Requirements section. It may be altered of unavailable in subsequent versions. Instead, use IServiceActivity.]

Submits batch work through the activity created by the MTSCreateActivity function.

Inheritance

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

Methods

The IMTSActivity interface has these methods.

 
IMTSActivity::AsyncCall

Performs the user-defined work asynchronously. (IMTSActivity.AsyncCall)
IMTSActivity::BindToCurrentThread

Binds the batch work that is submitted using IMTSActivity::AsyncCall or IMTSActivity::SynchronousCall to the current single-threaded apartment (STA).
IMTSActivity::SynchronousCall

Performs the user-defined work synchronously. (IMTSActivity.SynchronousCall)
IMTSActivity::UnbindFromThread

Unbinds the batch work that is submitted using IMTSActivity::AsyncCall or IMTSActivity::SynchronousCall from the thread on which it is running.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IMTSCall::OnCall

IServiceActivity

MTSCreateActivity