PipelineTransport.ProcessAsync 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
ProcessAsync(PipelineMessage) |
Sends the HTTP request contained by Request and sets the value of Response. |
ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) |
Implementation of Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). Since the transport is the last policy in the ClientPipeline policy chain, this method does not call ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) as other policy implementations do. |
ProcessAsync(PipelineMessage)
- Source:
- PipelineTransport.cs
- Source:
- PipelineTransport.cs
public System.Threading.Tasks.ValueTask ProcessAsync (System.ClientModel.Primitives.PipelineMessage message);
override this.ProcessAsync : System.ClientModel.Primitives.PipelineMessage -> System.Threading.Tasks.ValueTask
Public Function ProcessAsync (message As PipelineMessage) As ValueTask
Parameters
- message
- PipelineMessage
The PipelineMessage containing the request that was sent and response that was received by the transport.
Returns
Applies to
ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32)
- Source:
- PipelineTransport.cs
- Source:
- PipelineTransport.cs
Implementation of Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). Since the transport is the last policy in the ClientPipeline policy chain, this method does not call ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) as other policy implementations do.
public override sealed System.Threading.Tasks.ValueTask ProcessAsync (System.ClientModel.Primitives.PipelineMessage message, System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> pipeline, int currentIndex);
override this.ProcessAsync : System.ClientModel.Primitives.PipelineMessage * System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> * int -> System.Threading.Tasks.ValueTask
Public Overrides NotOverridable Function ProcessAsync (message As PipelineMessage, pipeline As IReadOnlyList(Of PipelinePolicy), currentIndex As Integer) As ValueTask
Parameters
- message
- PipelineMessage
The PipelineMessage to pass to Process(PipelineMessage).
- pipeline
- IReadOnlyList<PipelinePolicy>
The collection of policies in the pipeline.
- currentIndex
- Int32
The index of the current policy being processed in the pipeline invocation.