PipelineTransport Constructors
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.
Overloads
PipelineTransport() |
Creates a new instance of the PipelineTransport class. |
PipelineTransport(Boolean, ILoggerFactory) |
Creates a new instance of the PipelineTransport class. |
PipelineTransport()
- Source:
- PipelineTransport.cs
- Source:
- PipelineTransport.cs
Creates a new instance of the PipelineTransport class.
protected PipelineTransport ();
Protected Sub New ()
Applies to
PipelineTransport(Boolean, ILoggerFactory)
- Source:
- PipelineTransport.cs
Creates a new instance of the PipelineTransport class.
protected PipelineTransport (bool enableLogging, Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory);
new System.ClientModel.Primitives.PipelineTransport : bool * Microsoft.Extensions.Logging.ILoggerFactory -> System.ClientModel.Primitives.PipelineTransport
Protected Sub New (enableLogging As Boolean, loggerFactory As ILoggerFactory)
Parameters
- enableLogging
- Boolean
If client-wide logging is enabled for this pipeline.
- loggerFactory
- ILoggerFactory
The ILoggerFactory to use to create an ILogger instance for logging. If one is not provided, logs are written to Event Source by default.
Applies to
Azure SDK for .NET