Partager via


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

 

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

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

Syntax

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

Parameters

  • singletonInstance
    Type: System.Object

    An object that implements one or more provider contracts.

See Also

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

Return to top