Share via


AsAzureDataplaneClient.CallPostAsync Method

Definition

Overloads

CallPostAsync(String, HttpContent)

Calls SendRequestAsync() for a POST using the default BaseUri and a blank correlationId.

CallPostAsync(Uri, String, HttpContent)

Calls SendRequestAsync() for a POST using a blank correlationId.

CallPostAsync(Uri, String, Guid, HttpContent)

Calls SendRequestAsync() for a POST.

CallPostAsync(String, HttpContent)

Calls SendRequestAsync() for a POST using the default BaseUri and a blank correlationId.

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallPostAsync (string requestUrl, System.Net.Http.HttpContent content = default);
abstract member CallPostAsync : string * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
override this.CallPostAsync : string * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallPostAsync (requestUrl As String, Optional content As HttpContent = Nothing) As Task(Of HttpResponseMessage)

Parameters

requestUrl
String
content
HttpContent

The content to post (optional).

Returns

The http response message.

Implements

Applies to

CallPostAsync(Uri, String, HttpContent)

Calls SendRequestAsync() for a POST using a blank correlationId.

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallPostAsync (Uri baseUri, string requestUrl, System.Net.Http.HttpContent content = default);
abstract member CallPostAsync : Uri * string * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
override this.CallPostAsync : Uri * string * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallPostAsync (baseUri As Uri, requestUrl As String, Optional content As HttpContent = Nothing) As Task(Of HttpResponseMessage)

Parameters

baseUri
Uri
requestUrl
String
content
HttpContent

The content to post (optional).

Returns

The http response message.

Implements

Applies to

CallPostAsync(Uri, String, Guid, HttpContent)

Calls SendRequestAsync() for a POST.

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallPostAsync (Uri baseUri, string requestUrl, Guid correlationId, System.Net.Http.HttpContent content = default);
abstract member CallPostAsync : Uri * string * Guid * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
override this.CallPostAsync : Uri * string * Guid * System.Net.Http.HttpContent -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallPostAsync (baseUri As Uri, requestUrl As String, correlationId As Guid, Optional content As HttpContent = Nothing) As Task(Of HttpResponseMessage)

Parameters

baseUri
Uri
requestUrl
String
correlationId
Guid

The CorrelationId

content
HttpContent

The content to post (optional).

Returns

The http response message.

Implements

Applies to