HostConfigProviderAttribute 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.
Identifies the IHostConfigProvider implementation to use for providing the initial host-specific service configuration. There can only be one such instance active at a time and typically it is provided by the host directly. Users can use the ConfigBuilder class as a mechanism for adding or modifying the service configuration provided by the host.
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false)]
public sealed class HostConfigProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false)>]
type HostConfigProviderAttribute = class
inherit Attribute
Public NotInheritable Class HostConfigProviderAttribute
Inherits Attribute
- Inheritance
-
HostConfigProviderAttribute
- Attributes
Constructors
HostConfigProviderAttribute(Type) |
Creates a new instance of the HostConfigProviderAttribute identifying the IHostConfigProvider implementation to use for providing the initial host configuration. |
Properties
ConfigProviderType |
Gets the IHostConfigProvider used to provide the initial host service configuration. |