ClientPipeline.CreateMessage 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
| CreateMessage() |
Creates a PipelineMessage that can be sent using this pipeline instance. |
| CreateMessage(Uri, String, PipelineMessageClassifier) |
Creates a PipelineMessage that can be sent using this pipeline instance with the specified URI, HTTP method, and response classifier. |
CreateMessage()
- Source:
- ClientPipeline.cs
- Source:
- ClientPipeline.cs
Creates a PipelineMessage that can be sent using this pipeline instance.
public System.ClientModel.Primitives.PipelineMessage CreateMessage();
member this.CreateMessage : unit -> System.ClientModel.Primitives.PipelineMessage
Public Function CreateMessage () As PipelineMessage
Returns
The created PipelineMessage.
Applies to
CreateMessage(Uri, String, PipelineMessageClassifier)
- Source:
- ClientPipeline.cs
Creates a PipelineMessage that can be sent using this pipeline instance with the specified URI, HTTP method, and response classifier.
public System.ClientModel.Primitives.PipelineMessage CreateMessage(Uri uri, string method, System.ClientModel.Primitives.PipelineMessageClassifier? classifier = default);
member this.CreateMessage : Uri * string * System.ClientModel.Primitives.PipelineMessageClassifier -> System.ClientModel.Primitives.PipelineMessage
Public Function CreateMessage (uri As Uri, method As String, Optional classifier As PipelineMessageClassifier = Nothing) As PipelineMessage
Parameters
- method
- String
The HTTP method for the request.
- classifier
- PipelineMessageClassifier
The PipelineMessageClassifier to use for determining response success and retry behavior. If not provided, Default will be used.
Returns
The created PipelineMessage with the specified URI, method, and classifier configured.