Language

ConnectorClient コンストラクター

定義

オーバーロード

名前 説明
ConnectorClient(DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(Uri, ServiceClientCredentials, HttpClient, Boolean)

ConnectorClient クラスの新しいインスタンスを初期化します。

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(Uri, ServiceClientCredentials, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(ServiceClientCredentials, HttpClient, Boolean)

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(Uri, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(Uri, HttpClientHandler, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(HttpClientHandler, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(HttpClient, Boolean)

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(ServiceClientCredentials, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

ConnectorClient(DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

適用対象

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Bot Connectorサービス用の基本URI。

credentials
MicrosoftAppCredentials

Bot Connectorサービスの認証情報。

httpClientHandler
HttpClientHandler

このコネクタクライアントに使うHTTPクライアントメッセージハンドラ。

addJwtTokenRefresher
Boolean

推奨されていないので、使用しないでください。

customHttpClient
HttpClient

このコネクタクライアントに使うHTTPクライアントです。

handlers
DelegatingHandler[]

オプションとして、HTTPクライアントパイプラインに追加する DelegatingHandler オブジェクトの配列も可能です。

適用対象

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Bot Connectorサービス用の基本URI。

credentials
Microsoft.Rest.ServiceClientCredentials

Bot Connectorサービスの認証情報。

customHttpClient
HttpClient

このコネクタクライアントに使うHTTPクライアントです。

addJwtTokenRefresher
Boolean

推奨されていないので、使用しないでください。

handlers
DelegatingHandler[]

オプションとして、HTTPクライアントパイプラインに追加する DelegatingHandler オブジェクトの配列も可能です。

適用対象

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())

パラメーター

baseUri
Uri
httpClientHandler
HttpClientHandler
addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

適用対象

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Bot Connectorサービス用の基本URI。

microsoftAppId
String

オプションとして、ボットリソースの Microsoft app ID を用意してください。 nullの場合、この設定はボットのアプリケーションリソースの MicrosoftAppId 設定から読み取られます。

microsoftAppPassword
String

オプションとして、ボット用のMicrosoftアプリのパスワードも設定できます。 nullの場合、この設定はボットのアプリケーションリソースの MicrosoftAppPassword 設定から読み取られます。

handlers
DelegatingHandler[]

オプションとして、HTTPクライアントパイプラインに追加する DelegatingHandler オブジェクトの配列も可能です。

適用対象

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

ConnectorClient(Uri, ServiceClientCredentials, HttpClient, Boolean)

ConnectorClient クラスの新しいインスタンスを初期化します。

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)

パラメーター

baseUri
Uri

Bot Connectorサービス用の基本URI。

credentials
Microsoft.Rest.ServiceClientCredentials

Bot Connectorサービスの認証情報。

customHttpClient
HttpClient

このコネクタクライアントに使うHTTPクライアントです。

disposeHttpClient
Boolean

HttpClientを処分するかどうか。

注釈

カスタム HttpClientの処分を制御できるよう特別に設計されたコンストラクターです。 Microsoft.Rest.ServiceClient`1 HttpClientの処理を制御できるコンストラクタは1つだけなので、ここではそれをオーバーロードと呼びます。 他のすべてのConnectorClientオーバーロードはこのパラメータを制御せず、デフォルトでtrueとなり、ConnectorClientが廃棄された際に提供されたHttpClientが破棄されます。 コネクタ間でHttpClientインスタンスを再利用する際は、ObjectDisposedExceptionを避けるためにdisposeHttpClientに「false」を渡してください。

適用対象

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())

パラメーター

baseUri
Uri
addJwtTokenRefresher
Boolean
handlers
DelegatingHandler[]

適用対象

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Bot Connectorサービス用の基本URI。

credentials
MicrosoftAppCredentials

Bot Connectorサービスの認証情報。

addJwtTokenRefresher
Boolean

推奨されていないので、使用しないでください。

handlers
DelegatingHandler[]

オプションとして、HTTPクライアントパイプラインに追加する DelegatingHandler オブジェクトの配列も可能です。

適用対象

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

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Bot Connectorサービス用の基本URI。

credentials
MicrosoftAppCredentials

Bot Connectorサービスの認証情報。

customHttpClient
HttpClient

このコネクタクライアントに使うHTTPクライアントです。

addJwtTokenRefresher
Boolean

推奨されていないので、使用しないでください。

handlers
DelegatingHandler[]

オプションとして、HTTPクライアントパイプラインに追加する DelegatingHandler オブジェクトの配列も可能です。

適用対象

ConnectorClient(Uri, ServiceClientCredentials, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

ConnectorClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

ConnectorClient(ServiceClientCredentials, HttpClient, Boolean)

ConnectorClient クラスの新しいインスタンスを初期化します。

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)

パラメーター

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

httpClient
HttpClient

HttpClientを使います。

disposeHttpClient
Boolean

True: はConnectorClient.Dispose()を呼び出した際に提供されたhttpClientを破棄します。 誤り:提供されたhttpClientは処分されません。

例外

必要なパラメータがnullのときに投げられます。

適用対象

ConnectorClient(Uri, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

ConnectorClient(Uri, HttpClientHandler, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

baseUri
Uri

Optional. サービスの基本URIです。

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象

ConnectorClient(HttpClientHandler, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

rootHandler
HttpClientHandler

Optional. httpトランスポートを処理するために使われたhttpクライアントハンドラです。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

適用対象

ConnectorClient(HttpClient, Boolean)

ConnectorClient クラスの新しいインスタンスを初期化します。

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)

パラメーター

httpClient
HttpClient

HttpClientを使います。

disposeHttpClient
Boolean

True: はConnectorClient.Dispose()を呼び出した際に提供されたhttpClientを破棄します。 誤り:提供されたhttpClientは処分されません。

適用対象

ConnectorClient(ServiceClientCredentials, DelegatingHandler[])

ConnectorClient クラスの新しいインスタンスを初期化します。

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())

パラメーター

credentials
Microsoft.Rest.ServiceClientCredentials

必須。 クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

handlers
DelegatingHandler[]

Optional. httpクライアントパイプラインに追加するハンドラーを委任します。

例外

必要なパラメータがnullのときに投げられます。

適用対象