Partager via


ProviderHost Constructor (Type, String, IList<Type>)

 

Initializes a new instance of the ProviderHost class with the specified contract type, provider identifier, and optional list of contract objects.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

public ProviderHost(
    Type providerType,
    string providerId,
    IList<Type> serviceContractInterfaces
)
public:
ProviderHost(
    Type^ providerType,
    String^ providerId,
    IList<Type^>^ serviceContractInterfaces
)
Public Sub New (
    providerType As Type,
    providerId As String,
    serviceContractInterfaces As IList(Of Type)
)

Parameters

  • providerType
    Type: System.Type

    A type that implements one or more provider contracts.

See Also

ProviderHost Overload
ProviderHost Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top