ProvideServiceForTestTypeAttribute Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
'Declaration
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
testType
Type: System.TypeThe Type of the custom ITestElement for which to provide services.
serviceType
Type: System.TypeThe Type of the IServiceProvider to provide.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProvideServiceForTestTypeAttribute Class