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.TypeA type that implements one or more provider contracts.
providerId
Type: System.StringThe identifier of the provider.
serviceContractInterfaces
Type: System.Collections.Generic.IList<Type>The list of provider contracts. If this list is null, the providerType is used.
See Also
ProviderHost Overload
ProviderHost Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top