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 _
)
'使用
Dim testType As Type
Dim serviceType As Type
Dim instance As New ProvideServiceForTestTypeAttribute(testType, _
serviceType)
public ProvideServiceForTestTypeAttribute(
Type testType,
Type serviceType
)
public:
ProvideServiceForTestTypeAttribute(
Type^ testType,
Type^ serviceType
)
public function ProvideServiceForTestTypeAttribute(
testType : Type,
serviceType : Type
)
Parameters
- testType
Type: System.Type
- serviceType
Type: System.Type
Permissions
- 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