Table of Contents

Class ActivationFactoryProvider

Namespace
VpnHood.Core.Client.VpnServices.Host.WindowsVpnPlugin
Assembly
VpnHood.Core.Client.VpnServices.Host.WindowsVpnPlugin.dll

Provides the activation factories the VPN host hands Windows (CoreApplication.RunWithActivationFactories).

public sealed class ActivationFactoryProvider : IGetActivationFactory
Inheritance
ActivationFactoryProvider
Implements
Inherited Members

Methods

GetActivationFactory(string)

Retrieves the implementation of an activation factory.

public object GetActivationFactory(string activatableClassId)

Parameters

activatableClassId string

The Activation ID (ACID) of the activatable type produced by the factory.

Returns

object

An instance of an activation factory type. This type must implement IActivationFactory.

Remarks

It gives the factories of the classes this component authors.

Exceptions

TypeLoadException

The component has no such class.