ConnectorClient 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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[]
(선택 사항) 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
- credentials
- MicrosoftAppCredentials
- 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 앱 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
(선택 사항) 서비스의 기본 URI입니다.
- credentials
- Microsoft.Rest.ServiceClientCredentials
필수 요소. 클라이언트 구독을 고유하게 식별하는 구독 자격 증명입니다.
- rootHandler
- HttpClientHandler
(선택 사항) http 전송을 처리하는 데 사용되는 http 클라이언트 처리기입니다.
- handlers
- DelegatingHandler[]
(선택 사항) http 클라이언트 파이프라인에 추가할 위임 처리기입니다.
예외
필수 매개 변수가 null이면 throw됩니다.
적용 대상
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제어를 허용하는 하나의 생성자만 있으므로 여기서는 해당 오버로드를 호출합니다. 의 ConnectorClient 다른 모든 오버로드는 이 매개 변수를 제어하지 않으며 기본적으로 true로 설정되므로 가 삭제될 때 ConnectorClient 제공된 HttpClient 가 삭제됩니다. 커넥터에서 인스턴스를 다시 사용할 때 을 HttpClient 방지ObjectDisposedException하려면 에 'false'를 disposeHttpClient
전달합니다.
적용 대상
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
- credentials
- MicrosoftAppCredentials
- 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
(선택 사항) 서비스의 기본 URI입니다.
- credentials
- Microsoft.Rest.ServiceClientCredentials
필수 요소. 클라이언트 구독을 고유하게 식별하는 구독 자격 증명입니다.
- handlers
- DelegatingHandler[]
(선택 사항) http 클라이언트 파이프라인에 추가할 위임 처리기입니다.
예외
필수 매개 변수가 null이면 throw됩니다.
적용 대상
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
(선택 사항) http 전송을 처리하는 데 사용되는 http 클라이언트 처리기입니다.
- handlers
- DelegatingHandler[]
(선택 사항) http 클라이언트 파이프라인에 추가할 위임 처리기입니다.
예외
필수 매개 변수가 null이면 throw됩니다.
적용 대상
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를 삭제합니다. False: 제공된 httpClient를 삭제하지 않습니다.
예외
필수 매개 변수가 null이면 throw됩니다.
적용 대상
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
(선택 사항) 서비스의 기본 URI입니다.
- handlers
- DelegatingHandler[]
(선택 사항) http 클라이언트 파이프라인에 추가할 위임 처리기입니다.
예외
필수 매개 변수가 null이면 throw됩니다.
적용 대상
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
(선택 사항) 서비스의 기본 URI입니다.
- rootHandler
- HttpClientHandler
(선택 사항) http 전송을 처리하는 데 사용되는 http 클라이언트 처리기입니다.
- handlers
- DelegatingHandler[]
(선택 사항) http 클라이언트 파이프라인에 추가할 위임 처리기입니다.
예외
필수 매개 변수가 null이면 throw됩니다.
적용 대상
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
(선택 사항) http 전송을 처리하는 데 사용되는 http 클라이언트 처리기입니다.
- handlers
- DelegatingHandler[]
(선택 사항) 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를 삭제합니다. False: 제공된 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[]
(선택 사항) http 클라이언트 파이프라인에 추가할 위임 처리기입니다.
예외
필수 매개 변수가 null이면 throw됩니다.