SimpleActivationFactory Class
Provides a fundamental mechanism to create a Windows Runtime or classic COM base class.
template<
typename Base
>
class SimpleActivationFactory : public ActivationFactory<>;
Parameters
- Base
A base class.
Remarks
The base class must provide a default constructor.
The following code example demonstrates how to use SimpleActivationFactory with the ActivatableClassWithFactoryEx macro.
ActivatableClassWithFactoryEx(MyClass, SimpleActivationFactory, MyServerName);
Members
Public Methods
Name |
Description |
---|---|
Creates an instance of the specified interface. |
|
Gets the runtime class name of an instance of the class specified by the Base class template parameter. |
|
Gets the trust level of an instance of the class specified by the Base class template parameter. |
Inheritance Hierarchy
I0
ChainInterfaces
I0
RuntimeClassBase
ImplementsHelper
DontUseNewUseMake
RuntimeClassFlags
RuntimeClassBaseT
RuntimeClass
ActivationFactory
SimpleActivationFactory
Requirements
Header: module.h
Namespace: Microsoft::WRL