共用方式為


ProvideServiceAttributeBase(Object, String) Constructor

Definition

Initializes a new instance of the ProvideServiceAttributeBase class.

public:
 ProvideServiceAttributeBase(System::Object ^ serviceType, System::String ^ registryRoot);
public:
 ProvideServiceAttributeBase(Platform::Object ^ serviceType, Platform::String ^ registryRoot);
 ProvideServiceAttributeBase(winrt::Windows::Foundation::IInspectable const & serviceType, std::wstring const & registryRoot);
public ProvideServiceAttributeBase (object serviceType, string registryRoot);
new Microsoft.VisualStudio.Shell.ProvideServiceAttributeBase : obj * string -> Microsoft.VisualStudio.Shell.ProvideServiceAttributeBase
Public Sub New (serviceType As Object, registryRoot As String)

Parameters

serviceType
Object
registryRoot
String

[in] Root of the registry for the service.

Applies to