共用方式為


HttpPipeline.CreateMessage Method

Definition

Overloads

CreateMessage()

Creates a new HttpMessage instance.

CreateMessage(RequestContext)
CreateMessage(RequestContext, ResponseClassifier)

Creates a new HttpMessage instance.

CreateMessage()

Source:
HttpPipeline.cs

Creates a new HttpMessage instance.

public Azure.Core.HttpMessage CreateMessage ();
member this.CreateMessage : unit -> Azure.Core.HttpMessage
Public Function CreateMessage () As HttpMessage

Returns

The message.

Applies to

CreateMessage(RequestContext)

Source:
HttpPipeline.cs
public Azure.Core.HttpMessage CreateMessage (Azure.RequestContext? context);
member this.CreateMessage : Azure.RequestContext -> Azure.Core.HttpMessage
Public Function CreateMessage (context As RequestContext) As HttpMessage

Parameters

context
RequestContext

Returns

Applies to

CreateMessage(RequestContext, ResponseClassifier)

Source:
HttpPipeline.cs

Creates a new HttpMessage instance.

public Azure.Core.HttpMessage CreateMessage (Azure.RequestContext? context, Azure.Core.ResponseClassifier? classifier = default);
member this.CreateMessage : Azure.RequestContext * Azure.Core.ResponseClassifier -> Azure.Core.HttpMessage
Public Function CreateMessage (context As RequestContext, Optional classifier As ResponseClassifier = Nothing) As HttpMessage

Parameters

context
RequestContext

Context specifying the message options.

classifier
ResponseClassifier

Returns

The message.

Applies to