ComponentActivator.Activate<T>(ActivationContext<T>) Method

Definition

Activates the context specified by the context parameter, and returns the activated instance as type T.

public:
generic <typename T>
 virtual T Activate(Microsoft::EnterpriseManagement::ActivationContext<T> ^ context);
public T Activate<T> (Microsoft.EnterpriseManagement.ActivationContext<T> context);
abstract member Activate : Microsoft.EnterpriseManagement.ActivationContext<'T> -> 'T
override this.Activate : Microsoft.EnterpriseManagement.ActivationContext<'T> -> 'T
Public Function Activate(Of T) (context As ActivationContext(Of T)) As T

Type Parameters

T

Parameters

context
ActivationContext<T>

The context used in activating the type T.

Returns

T

Type: {0}.
Instance of T activated by the context.

Applies to