Compartilhar via


ClientPipelineOptions Class

Definition

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.

public class ClientPipelineOptions
type ClientPipelineOptions = class
Public Class ClientPipelineOptions
Inheritance
ClientPipelineOptions
Derived

Constructors

ClientPipelineOptions()

Properties

NetworkTimeout

The timeout applied to an individual network operation.

RetryPolicy

Gets or sets the PipelinePolicy to be used by the ClientPipeline for handling retry logic.

Transport

Gets or sets the PipelineTransport to be used by the ClientPipeline for sending and receiving HTTP messages.

Methods

AddPolicy(PipelinePolicy, PipelinePosition)

Adds the provided PipelinePolicy to the default ClientPipeline.

AssertNotFrozen()

Assert that Freeze() has not been called on this ClientPipelineOptions instance.

Freeze()

Freeze this instance of ClientPipelineOptions. After this method has been called, any attempt to set properties on the instance or call methods that would change its state will throw InvalidOperationException.

Applies to