Share via


ILifetimeManagerTypeRegistry.Register Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Registers a new lifetime manager type.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ILifetimeManagerTypeRegistry
Dim name As String

instance.Register(name)

Syntax

'Declaration
Sub Register(Of T As ILifetimeManager(Of Object)) ( _
    name As String _
)
void Register<T> (
    string name
) where T : ILifetimeManager<Object>
generic<typename T> where T : ILifetimeManager<Object^>
void Register (
    String^ name
)

GenericParameters

  • T
    The type of the lifetime manager to register.

Parameters

  • name
    The name under which to register the lifetime manager.

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

ILifetimeManagerTypeRegistry Interface
ILifetimeManagerTypeRegistry Members
Microsoft.EnterpriseManagement Namespace