ComponentActivator.Activate<T>(ActivationContext<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.