Share via


MockBrokeredServiceContainer(TraceSource) Constructor

Definition

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.

Applies to