RestConnectorClient 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 RestConnectorClient(Uri endpoint, System.Net.Http.IHttpClientFactory httpClientFactory, Func<System.Threading.Tasks.Task<string>> tokenProviderFunction, string namedClient = "RestConnectorClient", int? maxApxConversationIdLength = default);
new Microsoft.Agents.Connector.RestConnectorClient : Uri * System.Net.Http.IHttpClientFactory * Func<System.Threading.Tasks.Task<string>> * string * Nullable<int> -> Microsoft.Agents.Connector.RestConnectorClient
Public Sub New (endpoint As Uri, httpClientFactory As IHttpClientFactory, tokenProviderFunction As Func(Of Task(Of String)), Optional namedClient As String = "RestConnectorClient", Optional maxApxConversationIdLength As Nullable(Of Integer) = Nothing)
Parameters
- endpoint
- Uri
- httpClientFactory
- IHttpClientFactory
- namedClient
- String