ILifetimeManagerTypeRegistry.Register<T>(String) 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.
[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.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::ILifetimeManager<System::Object ^>gcnew() void Register(System::String ^ name);
public void Register<T> (string name) where T : Microsoft.EnterpriseManagement.ILifetimeManager<object>new();
abstract member Register : string -> unit (requires 'T :> Microsoft.EnterpriseManagement.ILifetimeManager<obj> and 'T : (new : unit -> 'T))
Public Sub Register(Of T As {ILifetimeManager(Of Object)New}) (name As String)
Type Parameters
- T
The type of the lifetime manager to register.
Parameters
- name
- String
The name under which to register the lifetime manager.