HttpPipelineBuilder.Build Method
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
Build(HttpPipelineOptions) |
Creates an instance of HttpPipeline populated with default policies, user-provided policies from |
Build(ClientOptions, HttpPipelinePolicy[]) |
Creates an instance of HttpPipeline populated with default policies, user-provided policies from |
Build(HttpPipelineOptions, HttpPipelineTransportOptions) |
Creates an instance of DisposableHttpPipeline populated with default policies, user-provided policies from |
Build(ClientOptions, HttpPipelinePolicy[], HttpPipelinePolicy[], ResponseClassifier) |
Creates an instance of HttpPipeline populated with default policies, user-provided policies from |
Build(ClientOptions, HttpPipelinePolicy[], HttpPipelinePolicy[], HttpPipelineTransportOptions, ResponseClassifier) |
Creates an instance of DisposableHttpPipeline populated with default policies, user-provided policies from |
Build(HttpPipelineOptions)
- Source:
- HttpPipelineBuilder.cs
Creates an instance of HttpPipeline populated with default policies, user-provided policies from options
and client provided per call policies.
public static Azure.Core.Pipeline.HttpPipeline Build (Azure.Core.Pipeline.HttpPipelineOptions options);
static member Build : Azure.Core.Pipeline.HttpPipelineOptions -> Azure.Core.Pipeline.HttpPipeline
Public Shared Function Build (options As HttpPipelineOptions) As HttpPipeline
Parameters
- options
- HttpPipelineOptions
The configuration options used to build the HttpPipeline
Returns
A new instance of HttpPipeline
Applies to
Build(ClientOptions, HttpPipelinePolicy[])
- Source:
- HttpPipelineBuilder.cs
Creates an instance of HttpPipeline populated with default policies, user-provided policies from options
and client provided per call policies.
public static Azure.Core.Pipeline.HttpPipeline Build (Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies);
static member Build : Azure.Core.ClientOptions * Azure.Core.Pipeline.HttpPipelinePolicy[] -> Azure.Core.Pipeline.HttpPipeline
Public Shared Function Build (options As ClientOptions, ParamArray perRetryPolicies As HttpPipelinePolicy()) As HttpPipeline
Parameters
- options
- ClientOptions
The user-provided client options object.
- perRetryPolicies
- HttpPipelinePolicy[]
Client provided per-retry policies.
Returns
A new instance of HttpPipeline
Applies to
Build(HttpPipelineOptions, HttpPipelineTransportOptions)
- Source:
- HttpPipelineBuilder.cs
Creates an instance of DisposableHttpPipeline populated with default policies, user-provided policies from options
, client provided per call policies, and the supplied HttpPipelineTransportOptions.
public static Azure.Core.Pipeline.DisposableHttpPipeline Build (Azure.Core.Pipeline.HttpPipelineOptions options, Azure.Core.Pipeline.HttpPipelineTransportOptions transportOptions);
static member Build : Azure.Core.Pipeline.HttpPipelineOptions * Azure.Core.Pipeline.HttpPipelineTransportOptions -> Azure.Core.Pipeline.DisposableHttpPipeline
Public Shared Function Build (options As HttpPipelineOptions, transportOptions As HttpPipelineTransportOptions) As DisposableHttpPipeline
Parameters
- options
- HttpPipelineOptions
The configuration options used to build the DisposableHttpPipeline
- transportOptions
- HttpPipelineTransportOptions
The user-provided transport options which will be applied to the default transport. Note: If a custom transport has been supplied via the options
, these transportOptions
will be ignored.
Returns
A new instance of DisposableHttpPipeline
Applies to
Build(ClientOptions, HttpPipelinePolicy[], HttpPipelinePolicy[], ResponseClassifier)
- Source:
- HttpPipelineBuilder.cs
Creates an instance of HttpPipeline populated with default policies, user-provided policies from options
and client provided per call policies.
public static Azure.Core.Pipeline.HttpPipeline Build (Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier? responseClassifier);
static member Build : Azure.Core.ClientOptions * Azure.Core.Pipeline.HttpPipelinePolicy[] * Azure.Core.Pipeline.HttpPipelinePolicy[] * Azure.Core.ResponseClassifier -> Azure.Core.Pipeline.HttpPipeline
Public Shared Function Build (options As ClientOptions, perCallPolicies As HttpPipelinePolicy(), perRetryPolicies As HttpPipelinePolicy(), responseClassifier As ResponseClassifier) As HttpPipeline
Parameters
- options
- ClientOptions
The user-provided client options object.
- perCallPolicies
- HttpPipelinePolicy[]
Client provided per-call policies.
- perRetryPolicies
- HttpPipelinePolicy[]
Client provided per-retry policies.
- responseClassifier
- ResponseClassifier
The client provided response classifier.
Returns
A new instance of HttpPipeline
Applies to
Build(ClientOptions, HttpPipelinePolicy[], HttpPipelinePolicy[], HttpPipelineTransportOptions, ResponseClassifier)
- Source:
- HttpPipelineBuilder.cs
Creates an instance of DisposableHttpPipeline populated with default policies, user-provided policies from options
, client provided per call policies, and the supplied HttpPipelineTransportOptions.
public static Azure.Core.Pipeline.DisposableHttpPipeline Build (Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.Pipeline.HttpPipelineTransportOptions transportOptions, Azure.Core.ResponseClassifier? responseClassifier);
static member Build : Azure.Core.ClientOptions * Azure.Core.Pipeline.HttpPipelinePolicy[] * Azure.Core.Pipeline.HttpPipelinePolicy[] * Azure.Core.Pipeline.HttpPipelineTransportOptions * Azure.Core.ResponseClassifier -> Azure.Core.Pipeline.DisposableHttpPipeline
Public Shared Function Build (options As ClientOptions, perCallPolicies As HttpPipelinePolicy(), perRetryPolicies As HttpPipelinePolicy(), transportOptions As HttpPipelineTransportOptions, responseClassifier As ResponseClassifier) As DisposableHttpPipeline
Parameters
- options
- ClientOptions
The user-provided client options object.
- perCallPolicies
- HttpPipelinePolicy[]
Client provided per-call policies.
- perRetryPolicies
- HttpPipelinePolicy[]
Client provided per-retry policies.
- transportOptions
- HttpPipelineTransportOptions
The user-provided transport options which will be applied to the default transport. Note: If a custom transport has been supplied via the options
, these transportOptions
will be ignored.
- responseClassifier
- ResponseClassifier
The client provided response classifier.
Returns
A new instance of DisposableHttpPipeline