RestClientBase Constructor
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.
public RestClientBase(Uri endpoint, System.Net.Http.IHttpClientFactory httpClientFactory, string httpClientName, Func<System.Threading.Tasks.Task<string>> tokenProviderFunction);
new Microsoft.Agents.Connector.RestClients.RestClientBase : Uri * System.Net.Http.IHttpClientFactory * string * Func<System.Threading.Tasks.Task<string>> -> Microsoft.Agents.Connector.RestClients.RestClientBase
Public Sub New (endpoint As Uri, httpClientFactory As IHttpClientFactory, httpClientName As String, tokenProviderFunction As Func(Of Task(Of String)))
Parameters
- endpoint
- Uri
- httpClientFactory
- IHttpClientFactory
- httpClientName
- String