System.ClientModel.Primitives.ClientPipelineOptions
Options that control the creation of a ClientPipeline used
by a service client to send and receive HTTP messages.
Service clients must create a client-specific subtype of this class
to pass to their constructors to allow for service-specific options
with a client-wide scope.
namespace System.ClientModel.Primitives
{
public abstract class JsonModel<[System.Runtime.CompilerServices.Nullable(2)] T> : IJsonModel<T>, IPersistableModel<T>
{
protected abstract void WriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options);
protected abstract T CreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options);
public T Create(BinaryData data, ModelReaderWriterOptions options = null);
protected JsonModel();
}
}
namespace System.ClientModel.Primitives
{
public class ClientPipelineOptions
{
public PipelinePolicy RetryPolicy { get; set; }
public PipelinePolicy MessageLoggingPolicy { get; set; }
public PipelineTransport Transport { get; set; }
public TimeSpan? NetworkTimeout { get; set; }
public ClientLoggingOptions ClientLoggingOptions { get; set; }
public bool? EnableDistributedTracing { get; set; }
public bool IsReadOnly { get; }
public ClientPipelineOptions();
protected ClientPipelineOptions(IConfigurationSection section);
public void AddPolicy(PipelinePolicy policy, PipelinePosition position);
public virtual ClientPipelineOptions Clone();
public virtual void Freeze();
protected void AssertNotFrozen();
}
}