共用方式為


ProvideServiceForTestTypeAttribute Constructor

Initializes a new instance of the ProvideServiceForTestTypeAttribute class by using the provided test type and service type.

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'宣告
Public Sub New ( _
    testType As Type, _
    serviceType As Type _
)
public ProvideServiceForTestTypeAttribute(
    Type testType,
    Type serviceType
)
public:
ProvideServiceForTestTypeAttribute(
    Type^ testType, 
    Type^ serviceType
)
new : 
        testType:Type * 
        serviceType:Type -> ProvideServiceForTestTypeAttribute
public function ProvideServiceForTestTypeAttribute(
    testType : Type, 
    serviceType : Type
)

Parameters

.NET Framework Security

See Also

Reference

ProvideServiceForTestTypeAttribute Class

Microsoft.VisualStudio.TestTools.Vsip Namespace

ITestElement

IServiceProvider