ConnectorClient Konstruktoren

Definition

Überlädt

ConnectorClient(DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, MicrosoftAppCredentials, HttpClientHandler, Boolean, HttpClient, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, ServiceClientCredentials, HttpClient, Boolean, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, MicrosoftAppCredentials, HttpClientHandler, Boolean, DelegatingHandler[])
ConnectorClient(Uri, String, String, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, ServiceClientCredentials, HttpClient, Boolean)

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])
ConnectorClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, MicrosoftAppCredentials, HttpClient, Boolean, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(ServiceClientCredentials, HttpClient, Boolean)

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(Uri, HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(HttpClient, Boolean)

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(ServiceClientCredentials, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

ConnectorClient(DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

protected ConnectorClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Protected Sub New (ParamArray handlers As DelegatingHandler())

Parameter

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Gilt für:

ConnectorClient(Uri, MicrosoftAppCredentials, HttpClientHandler, Boolean, HttpClient, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials credentials, System.Net.Http.HttpClientHandler httpClientHandler, bool addJwtTokenRefresher = true, System.Net.Http.HttpClient customHttpClient = default, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials * System.Net.Http.HttpClientHandler * bool * System.Net.Http.HttpClient * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, httpClientHandler As HttpClientHandler, Optional addJwtTokenRefresher As Boolean = true, Optional customHttpClient As HttpClient = Nothing, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Basis-URI für den bot-Connector-Dienst.Base URI for the Bot Connector service.

credentials
MicrosoftAppCredentials

Anmelde Informationen für den bot-Connector-Dienst.Credentials for the Bot Connector service.

httpClientHandler
HttpClientHandler

Der HTTP-Client Nachrichten Handler, der für diesen Connector-Client verwendet werden soll.The HTTP client message handler to use for this connector client.

addJwtTokenRefresher
Boolean

Veraltet, nicht verwenden.Deprecated, do not use.

customHttpClient
HttpClient

Der HTTP-Client, der für diesen Connector-Client verwendet werden soll.The HTTP client to use for this connector client.

handlers
DelegatingHandler[]

Optional, ein Array von- DelegatingHandler Objekten, die der HTTP-Client Pipeline hinzugefügt werden sollen.Optional, an array of DelegatingHandler objects to add to the HTTP client pipeline.

Gilt für:

ConnectorClient(Uri, ServiceClientCredentials, HttpClient, Boolean, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient customHttpClient, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, customHttpClient As HttpClient, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Basis-URI für den bot-Connector-Dienst.Base URI for the Bot Connector service.

credentials
Microsoft.Rest.ServiceClientCredentials

Anmelde Informationen für den bot-Connector-Dienst.Credentials for the Bot Connector service.

customHttpClient
HttpClient

Der HTTP-Client, der für diesen Connector-Client verwendet werden soll.The HTTP client to use for this connector client.

addJwtTokenRefresher
Boolean

Veraltet, nicht verwenden.Deprecated, do not use.

handlers
DelegatingHandler[]

Optional, ein Array von- DelegatingHandler Objekten, die der HTTP-Client Pipeline hinzugefügt werden sollen.Optional, an array of DelegatingHandler objects to add to the HTTP client pipeline.

Gilt für:

ConnectorClient(Uri, MicrosoftAppCredentials, HttpClientHandler, Boolean, DelegatingHandler[])

public ConnectorClient (Uri baseUri, Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, System.Net.Http.HttpClientHandler httpClientHandler, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Bot.Connector.MicrosoftAppCredentials * System.Net.Http.HttpClientHandler * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, httpClientHandler As HttpClientHandler, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri
httpClientHandler
HttpClientHandler
addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

Gilt für:

ConnectorClient(Uri, String, String, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, string microsoftAppId = default, string microsoftAppPassword = default, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * string * string * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, Optional microsoftAppId As String = Nothing, Optional microsoftAppPassword As String = Nothing, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Basis-URI für den bot-Connector-Dienst.Base URI for the Bot Connector service.

microsoftAppId
String

Optional, die Microsoft-App-ID für die bot-Ressource.Optional, the Microsoft app ID for the bot resource. Wenn der Wert NULL ist, wird diese Einstellung aus der MicrosoftAppId Einstellung für die Anwendungs Ressource des Bots gelesen.If null, this setting is read from the MicrosoftAppId setting for the bot's application resource.

microsoftAppPassword
String

Optional, das Microsoft-App-Kennwort für den bot.Optional, the Microsoft app password for the bot. Wenn der Wert NULL ist, wird diese Einstellung aus der MicrosoftAppPassword Einstellung für die Anwendungs Ressource des Bots gelesen.If null, this setting is read from the MicrosoftAppPassword setting for the bot's application resource.

handlers
DelegatingHandler[]

Optional, ein Array von- DelegatingHandler Objekten, die der HTTP-Client Pipeline hinzugefügt werden sollen.Optional, an array of DelegatingHandler objects to add to the HTTP client pipeline.

Gilt für:

ConnectorClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Dies ist optional.Optional. Der Basis-URI des Dienstanbieter.The base URI of the service.

credentials
Microsoft.Rest.ServiceClientCredentials

Erforderlich.Required. Abonnement Anmelde Informationen, die das Client Abonnement eindeutig identifizieren.Subscription credentials which uniquely identify client subscription.

rootHandler
HttpClientHandler

Dies ist optional.Optional. Der HTTP-Client Handler, der zum Verarbeiten von HTTP-Transport verwendet wirdThe http client handler used to handle http transport.

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Ausnahmen

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist.Thrown when a required parameter is null

Gilt für:

ConnectorClient(Uri, ServiceClientCredentials, HttpClient, Boolean)

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient customHttpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, customHttpClient As HttpClient, disposeHttpClient As Boolean)

Parameter

baseUri
Uri

Basis-URI für den bot-Connector-Dienst.Base URI for the Bot Connector service.

credentials
Microsoft.Rest.ServiceClientCredentials

Anmelde Informationen für den bot-Connector-Dienst.Credentials for the Bot Connector service.

customHttpClient
HttpClient

Der HTTP-Client, der für diesen Connector-Client verwendet werden soll.The HTTP client to use for this connector client.

disposeHttpClient
Boolean

Gibt an, ob gelöscht werden soll HttpClient .Whether to dispose the HttpClient.

Hinweise

Konstruktor, der speziell auf den Konstruktor ausgelegt ist, der die Steuerung der Freigabe des benutzerdefinierten ermöglicht HttpClient .Constructor specifically designed to be the one that allows control of the disposing of the custom HttpClient. Microsoft.Rest.ServiceClient`1 verfügt nur über einen Konstruktor, der die Kontrolle über die Freigabe von annimmt HttpClient , daher wird diese Überladung hier aufgerufen.Microsoft.Rest.ServiceClient`1 only has one constructor that accepts control of the disposing of the HttpClient, so we call that overload here. Alle anderen über Ladungen von ConnectorClient Steuern diesen Parameter nicht. er wird standardmäßig auf true gesetzt, was zur Verfügung steht, HttpClient Wenn verworfen ConnectorClient wird.All other overloads of ConnectorClient will not control this parameter and it will default to true, resulting on disposal of the provided HttpClient when the ConnectorClient is disposed. Wenn Sie HttpClient Instanzen über Connectors hinweg wieder verwenden, übergeben Sie "false" für, disposeHttpClient um zu vermeiden ObjectDisposedException .When reusing HttpClient instances across connectors, pass 'false' for disposeHttpClient to avoid ObjectDisposedException.

Gilt für:

ConnectorClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])

public ConnectorClient (Uri baseUri, Microsoft.Bot.Connector.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Bot.Connector.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri
addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

Gilt für:

ConnectorClient(Uri, MicrosoftAppCredentials, Boolean, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials credentials, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Basis-URI für den bot-Connector-Dienst.Base URI for the Bot Connector service.

credentials
MicrosoftAppCredentials

Anmelde Informationen für den bot-Connector-Dienst.Credentials for the Bot Connector service.

addJwtTokenRefresher
Boolean

Veraltet, nicht verwenden.Deprecated, do not use.

handlers
DelegatingHandler[]

Optional, ein Array von- DelegatingHandler Objekten, die der HTTP-Client Pipeline hinzugefügt werden sollen.Optional, an array of DelegatingHandler objects to add to the HTTP client pipeline.

Gilt für:

ConnectorClient(Uri, MicrosoftAppCredentials, HttpClient, Boolean, DelegatingHandler[])

Initialisiert eine neue Instanz der ConnectorClient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials credentials, System.Net.Http.HttpClient customHttpClient, bool addJwtTokenRefresher = true, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials * System.Net.Http.HttpClient * bool * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As MicrosoftAppCredentials, customHttpClient As HttpClient, Optional addJwtTokenRefresher As Boolean = true, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Basis-URI für den bot-Connector-Dienst.Base URI for the Bot Connector service.

credentials
MicrosoftAppCredentials

Anmelde Informationen für den bot-Connector-Dienst.Credentials for the Bot Connector service.

customHttpClient
HttpClient

Der HTTP-Client, der für diesen Connector-Client verwendet werden soll.The HTTP client to use for this connector client.

addJwtTokenRefresher
Boolean

Veraltet, nicht verwenden.Deprecated, do not use.

handlers
DelegatingHandler[]

Optional, ein Array von- DelegatingHandler Objekten, die der HTTP-Client Pipeline hinzugefügt werden sollen.Optional, an array of DelegatingHandler objects to add to the HTTP client pipeline.

Gilt für:

ConnectorClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (baseUri As Uri, credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Dies ist optional.Optional. Der Basis-URI des Dienstanbieter.The base URI of the service.

credentials
Microsoft.Rest.ServiceClientCredentials

Erforderlich.Required. Abonnement Anmelde Informationen, die das Client Abonnement eindeutig identifizieren.Subscription credentials which uniquely identify client subscription.

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Ausnahmen

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist.Thrown when a required parameter is null

Gilt für:

ConnectorClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parameter

credentials
Microsoft.Rest.ServiceClientCredentials

Erforderlich.Required. Abonnement Anmelde Informationen, die das Client Abonnement eindeutig identifizieren.Subscription credentials which uniquely identify client subscription.

rootHandler
HttpClientHandler

Dies ist optional.Optional. Der HTTP-Client Handler, der zum Verarbeiten von HTTP-Transport verwendet wirdThe http client handler used to handle http transport.

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Ausnahmen

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist.Thrown when a required parameter is null

Gilt für:

ConnectorClient(ServiceClientCredentials, HttpClient, Boolean)

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.ConnectorClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)

Parameter

credentials
Microsoft.Rest.ServiceClientCredentials

Erforderlich.Required. Abonnement Anmelde Informationen, die das Client Abonnement eindeutig identifizieren.Subscription credentials which uniquely identify client subscription.

httpClient
HttpClient

Zu verwendende httpclientHttpClient to be used

disposeHttpClient
Boolean

True: gibt den bereitgestellten httpclient für den Aufruf von Connector Client. verwerfen () frei.True: will dispose the provided httpClient on calling ConnectorClient.Dispose(). False: der angegebene httpclient wird nicht verworfen.False: will not dispose provided httpClient

Ausnahmen

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist.Thrown when a required parameter is null

Gilt für:

ConnectorClient(Uri, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

protected ConnectorClient (Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Protected Sub New (baseUri As Uri, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Dies ist optional.Optional. Der Basis-URI des Dienstanbieter.The base URI of the service.

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Ausnahmen

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist.Thrown when a required parameter is null

Gilt für:

ConnectorClient(Uri, HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

protected ConnectorClient (Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Uri * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Protected Sub New (baseUri As Uri, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parameter

baseUri
Uri

Dies ist optional.Optional. Der Basis-URI des Dienstanbieter.The base URI of the service.

rootHandler
HttpClientHandler

Dies ist optional.Optional. Der HTTP-Client Handler, der zum Verarbeiten von HTTP-Transport verwendet wirdThe http client handler used to handle http transport.

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Ausnahmen

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist.Thrown when a required parameter is null

Gilt für:

ConnectorClient(HttpClientHandler, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

protected ConnectorClient (System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())

Parameter

rootHandler
HttpClientHandler

Dies ist optional.Optional. Der HTTP-Client Handler, der zum Verarbeiten von HTTP-Transport verwendet wirdThe http client handler used to handle http transport.

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Gilt für:

ConnectorClient(HttpClient, Boolean)

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

protected ConnectorClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Bot.Connector.ConnectorClient : System.Net.Http.HttpClient * bool -> Microsoft.Bot.Connector.ConnectorClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)

Parameter

httpClient
HttpClient

Zu verwendende httpclientHttpClient to be used

disposeHttpClient
Boolean

True: gibt den bereitgestellten httpclient für den Aufruf von Connector Client. verwerfen () frei.True: will dispose the provided httpClient on calling ConnectorClient.Dispose(). False: der angegebene httpclient wird nicht verworfen.False: will not dispose provided httpClient

Gilt für:

ConnectorClient(ServiceClientCredentials, DelegatingHandler[])

Initialisiert eine neue Instanz der connectorclient-Klasse.Initializes a new instance of the ConnectorClient class.

public ConnectorClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Bot.Connector.ConnectorClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Bot.Connector.ConnectorClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())

Parameter

credentials
Microsoft.Rest.ServiceClientCredentials

Erforderlich.Required. Abonnement Anmelde Informationen, die das Client Abonnement eindeutig identifizieren.Subscription credentials which uniquely identify client subscription.

handlers
DelegatingHandler[]

Dies ist optional.Optional. Die delegatenhandler, die der HTTP-Client Pipeline hinzugefügt werden sollen.The delegating handlers to add to the http client pipeline.

Ausnahmen

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist.Thrown when a required parameter is null

Gilt für: