你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceResponse class
构造函数
Resource |
属性
activity |
|
diagnostics | |
etag | |
headers | |
request |
|
resource | |
status |
|
substatus |
构造函数详细信息
ResourceResponse<TResource>(undefined | TResource, CosmosHeaders_2, number, CosmosDiagnostics, number)
new ResourceResponse(resource: undefined | TResource, headers: CosmosHeaders_2, statusCode: number, diagnostics: CosmosDiagnostics, substatus?: number)
参数
- resource
-
undefined | TResource
- headers
-
CosmosHeaders_2
- statusCode
-
number
- diagnostics
- CosmosDiagnostics
- substatus
-
number
属性详细信息
activityId
string activityId
属性值
string
diagnostics
etag
string etag
属性值
string
headers
headers: CosmosHeaders_2
属性值
CosmosHeaders_2
requestCharge
number requestCharge
属性值
number
resource
resource: undefined | TResource
属性值
undefined | TResource
statusCode
statusCode: number
属性值
number
substatus
substatus?: number
属性值
number