你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QnAMakerRuntimeClient 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
QnAMakerRuntimeClient(DelegatingHandler[])
- Source:
- QnAMakerRuntimeClient.cs
protected QnAMakerRuntimeClient (params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient : System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient
Protected Sub New (ParamArray handlers As DelegatingHandler())
参数
- handlers
- DelegatingHandler[]
适用于
QnAMakerRuntimeClient(ServiceClientCredentials, DelegatingHandler[])
- Source:
- QnAMakerRuntimeClient.cs
public QnAMakerRuntimeClient (Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient
Public Sub New (credentials As ServiceClientCredentials, ParamArray handlers As DelegatingHandler())
参数
- credentials
- ServiceClientCredentials
- handlers
- DelegatingHandler[]
适用于
QnAMakerRuntimeClient(HttpClient, Boolean)
- Source:
- QnAMakerRuntimeClient.cs
protected QnAMakerRuntimeClient (System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient : System.Net.Http.HttpClient * bool -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient
Protected Sub New (httpClient As HttpClient, disposeHttpClient As Boolean)
参数
- httpClient
- HttpClient
- disposeHttpClient
- Boolean
适用于
QnAMakerRuntimeClient(HttpClientHandler, DelegatingHandler[])
- Source:
- QnAMakerRuntimeClient.cs
protected QnAMakerRuntimeClient (System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient : System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient
Protected Sub New (rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
参数
- rootHandler
- HttpClientHandler
- handlers
- DelegatingHandler[]
适用于
QnAMakerRuntimeClient(ServiceClientCredentials, HttpClient, Boolean)
- Source:
- QnAMakerRuntimeClient.cs
public QnAMakerRuntimeClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClient * bool -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient
Public Sub New (credentials As ServiceClientCredentials, httpClient As HttpClient, disposeHttpClient As Boolean)
参数
- credentials
- ServiceClientCredentials
- httpClient
- HttpClient
- disposeHttpClient
- Boolean
适用于
QnAMakerRuntimeClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])
- Source:
- QnAMakerRuntimeClient.cs
public QnAMakerRuntimeClient (Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers);
new Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient : Microsoft.Rest.ServiceClientCredentials * System.Net.Http.HttpClientHandler * System.Net.Http.DelegatingHandler[] -> Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.QnAMakerRuntimeClient
Public Sub New (credentials As ServiceClientCredentials, rootHandler As HttpClientHandler, ParamArray handlers As DelegatingHandler())
参数
- credentials
- ServiceClientCredentials
- rootHandler
- HttpClientHandler
- handlers
- DelegatingHandler[]