Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Activates the context specified by the context parameter, and returns the activated instance as type T.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim instance As ComponentActivator
Dim context As ActivationContext(Of T)
Dim returnValue As T
returnValue = instance.Activate(context)
Syntax
'Declaration
Public Function Activate(Of T) ( _
context As ActivationContext(Of T) _
) As T
public T Activate<T> (
ActivationContext<T> context
)
public:
generic<typename T>
virtual T Activate (
ActivationContext<T>^ context
) sealed
GenericParameters
- T
Parameters
- context
The context used in activating the type T.
Return Value
Type: {0}.
Instance of T activated by the context.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ComponentActivator Class
ComponentActivator Members
Microsoft.EnterpriseManagement Namespace