FromKernelServicesAttribute 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.
Specifies that an argument to a KernelFunction should be supplied from the associated Kernel's Services rather than from KernelArguments.
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false)]
public sealed class FromKernelServicesAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false)>]
type FromKernelServicesAttribute = class
inherit Attribute
Public NotInheritable Class FromKernelServicesAttribute
Inherits Attribute
- Inheritance
-
FromKernelServicesAttribute
- Attributes
Constructors
FromKernelServicesAttribute() |
Initializes the attribute. |
FromKernelServicesAttribute(Object) |
Initializes the attribute with the specified service key. |
Properties
ServiceKey |
Gets the key to use when searching Services. |