ActivationContext<T> Constructors
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.]
Initializes a new instance of the ActivationContext<T> class.
Overloads
ActivationContext<T>(Lifetime) |
Obsolete.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Initializes a new instance of the ActivationContext<T> class. |
ActivationContext<T>(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Initializes a new instance of the ActivationContext<T> class. |
ActivationContext<T>(Lifetime)
Caution
Please use ActivationContext(String) instead
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Initializes a new instance of the ActivationContext<T> class.
public:
ActivationContext(Microsoft::EnterpriseManagement::Lifetime lifetime);
[System.Obsolete("Please use ActivationContext(String) instead")]
public ActivationContext (Microsoft.EnterpriseManagement.Lifetime lifetime);
new Microsoft.EnterpriseManagement.ActivationContext<'T> : Microsoft.EnterpriseManagement.Lifetime -> Microsoft.EnterpriseManagement.ActivationContext<'T>
Public Sub New (lifetime As Lifetime)
Parameters
- lifetime
- Lifetime
The lifetime of this activation.
- Attributes
Applies to
ActivationContext<T>(String)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Initializes a new instance of the ActivationContext<T> class.
public:
ActivationContext(System::String ^ lifetimeManager);
public ActivationContext (string lifetimeManager);
new Microsoft.EnterpriseManagement.ActivationContext<'T> : string -> Microsoft.EnterpriseManagement.ActivationContext<'T>
Public Sub New (lifetimeManager As String)
Parameters
- lifetimeManager
- String
The lifetime manager.