你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PipelineTransport Class
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.
Represents an HTTP pipeline transport used to send and receive HTTP requests and responses.
public abstract class PipelineTransport : System.ClientModel.Primitives.PipelinePolicy
type PipelineTransport = class
inherit PipelinePolicy
Public MustInherit Class PipelineTransport
Inherits PipelinePolicy
- Inheritance
- Derived
Constructors
PipelineTransport() |
Methods
CreateMessage() |
Create an instance of PipelineMessage that can be sent using this transport instance. This method will rarely be called directly; CreateMessage() should be called instead. |
CreateMessageCore() |
Creates a new transport-specific instance of PipelineMessage. Types that derive from PipelineTransport must implement this method to provide transport-specific functionality. |
Process(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. |
Process(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) |
Sends the HTTP request contained by Request and sets the value of Response. |
ProcessCore(PipelineMessage) |
Transport-specific implementation used to sends the HTTP request contained by Request and set the value of Response. Types that derive from PipelineTransport must implement this method to provide transport-specific functionality. |
ProcessCoreAsync(PipelineMessage) |
Transport-specific implementation used to sends the HTTP request contained by Request and set the value of Response. Types that derive from PipelineTransport must implement this method to provide transport-specific functionality. |