BrokeredServiceContractTestBase<TInterface,TServiceMock> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the BrokeredServiceContractTestBase<TInterface,TServiceMock> class.
public BrokeredServiceContractTestBase (Xunit.Abstractions.ITestOutputHelper logger, Microsoft.ServiceHub.Framework.ServiceRpcDescriptor serviceRpcDescriptor);
new Microsoft.VisualStudio.Sdk.TestFramework.BrokeredServiceContractTestBase<'Interface, #'Interface (requires 'Interface : null)> : Xunit.Abstractions.ITestOutputHelper * Microsoft.ServiceHub.Framework.ServiceRpcDescriptor -> Microsoft.VisualStudio.Sdk.TestFramework.BrokeredServiceContractTestBase<'Interface, #'Interface (requires 'Interface : null)>
Public Sub New (logger As ITestOutputHelper, serviceRpcDescriptor As ServiceRpcDescriptor)
Parameters
- logger
- Xunit.Abstractions.ITestOutputHelper
The xunit logging helper. Can be taken directly as a concrete test class constructor parameter.
- serviceRpcDescriptor
- ServiceRpcDescriptor
The descriptor that the product will use to request or proffer the brokered service.