Partager via


ProviderHost Constructor (Type, String)

 

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

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

Syntax

public ProviderHost(
    Type providerType,
    string providerId
)
public:
ProviderHost(
    Type^ providerType,
    String^ providerId
)
Public Sub New (
    providerType As Type,
    providerId As String
)

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