Condividi tramite


AsAzureDataplaneClient.CallGetAsync Method

Definition

Overloads

CallGetAsync(String)

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

CallGetAsync(Uri, String, Guid)

Calls SendRequestAsync() for a GET.

CallGetAsync(String)

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

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallGetAsync (string requestUrl);
abstract member CallGetAsync : string -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
override this.CallGetAsync : string -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallGetAsync (requestUrl As String) As Task(Of HttpResponseMessage)

Parameters

requestUrl
String

Returns

The http response message.

Implements

Applies to

CallGetAsync(Uri, String, Guid)

Calls SendRequestAsync() for a GET.

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

Parameters

baseUri
Uri

The base Uri to call.

requestUrl
String
correlationId
Guid

The CorrelationId

Returns

The http response message.

Implements

Applies to