ProviderHost Constructor (Object, String)
Initializes a new instance of the ProviderHost class with the specified contract object and identifier.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Syntax
public ProviderHost(
object singletonInstance,
string providerId
)
public:
ProviderHost(
Object^ singletonInstance,
String^ providerId
)
Public Sub New (
singletonInstance As Object,
providerId As String
)
Parameters
singletonInstance
Type: System.ObjectAn object that implements one or more provider contracts.
providerId
Type: System.StringThe identifier of the provider.
See Also
ProviderHost Overload
ProviderHost Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top