Edit

Share via


RegisterProviderAttribute Class

Definition

When applied to a type, indicates that the type is a provider and that it should be automatically registered.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class RegisterProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type RegisterProviderAttribute = class
    inherit Attribute
Public NotInheritable Class RegisterProviderAttribute
Inherits Attribute
Inheritance
RegisterProviderAttribute
Attributes

Constructors

RegisterProviderAttribute(String, String, String, Type)

When applied to a type, indicates that the type is a provider and that it should be automatically registered.

Properties

Kind

Gets the kind of the provider, for example, "Clustering", "Reminders".

Name

Gets the provider name, for example, "AzureTableStorage".

Target

Gets the type used to configure the provider, for example, "Server", "Client".

Type

Gets the type used to configure the provider.

Applies to

See also