ActivationContext<T> Class
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.]
Represents the activation context.
generic <typename T>
public ref class ActivationContext
public class ActivationContext<T>
type ActivationContext<'T> = class
Public Class ActivationContext(Of T)
Type Parameters
- T
The type of object tracked by the activation context.
- Inheritance
-
ActivationContext<T>
Constructors
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. |
Properties
Lifetime |
Obsolete.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the lifetime for this activation. |
LifetimeManager |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the requested lifetime manager for the activation of the component. |
ParameterCount |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the parameter count. |
ParameterNames |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the parameter names. |
Type |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the type. |
Methods
GetParameter(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the parameter by name. |
GetParameter(String, Type) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the parameter by name. |
GetParameter<V>(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets the parameter by name. |
HasParameter(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets or sets a value that indicates whether the specified context has a parameter. |
IsConvertableTo(String, Type) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets or sets a value that indicates whether this object is convertible to the specified object. |
IsConvertableTo<V>(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Gets or sets a value that indicates whether this object is convertible to the specified object. |
RemoveParameter(String) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Removes the parameter by name. |
SetParameter(String, Object) |
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] Sets the value of the parameter specified by name. |