MockBrokeredServiceContainer(TraceSource) 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 MockBrokeredServiceContainer class with no JoinableTaskFactory or TelemetrySession. A mock authorization service is installed that approves every request.
public MockBrokeredServiceContainer (System.Diagnostics.TraceSource? traceSource = default);
new Microsoft.VisualStudio.Utilities.ServiceBroker.MockBrokeredServiceContainer : System.Diagnostics.TraceSource -> Microsoft.VisualStudio.Utilities.ServiceBroker.MockBrokeredServiceContainer
Public Sub New (Optional traceSource As TraceSource = Nothing)
Parameters
- traceSource
- TraceSource
An optional TraceSource to log to.