你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SpellCheckClientContext class

Extends

构造函数

SpellCheckClientContext(ServiceClientCredentials, SpellCheckClientOptions)

初始化 SpellCheckClientContext 类的新实例。

属性

credentials
endpoint

继承的方法

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

发送使用提供的 OperationSpec 填充的 HTTP 请求。

sendRequest(RequestPrepareOptions | WebResourceLike)

发送提供的 httpRequest。

构造函数详细信息

SpellCheckClientContext(ServiceClientCredentials, SpellCheckClientOptions)

初始化 SpellCheckClientContext 类的新实例。

new SpellCheckClientContext(credentials: ServiceClientCredentials, options?: SpellCheckClientOptions)

参数

credentials
ServiceClientCredentials

唯一标识客户端订阅的订阅凭据。

options
SpellCheckClientOptions

参数选项

属性详细信息

credentials

credentials: ServiceClientCredentials

属性值

endpoint

endpoint?: string

属性值

string

继承的方法详细信息

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

发送使用提供的 OperationSpec 填充的 HTTP 请求。

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

参数

operationArguments
OperationArguments

将从中填充 HTTP 请求的模板化值的参数。

operationSpec
OperationSpec

用于填充 httpRequest 的 OperationSpec。

callback

ServiceCallback<any>

接收响应时要调用的回调。

返回

Promise<RestResponse>

继承自 msRest.ServiceClient.sendOperationRequest

sendRequest(RequestPrepareOptions | WebResourceLike)

发送提供的 httpRequest。

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

参数

返回

继承自 msRest.ServiceClient.sendRequest