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

ICommunicationsOperations.ListWithHttpMessagesAsync 方法

定义

列出支持票证) 不包含的所有通信 (附件。 <br/></br> 还可以使用 $filter 参数按 CreatedDateCommunicationType 筛选支持票证通信。 目前支持的唯一通信类型是 Web。 输出将是带有 nextLink 的分页结果,使用该结果可以检索下一组通信结果。 <br/><br/>支持票证数据在票证创建后的 12 个月内可用。 如果票证是在 12 个月前创建的,则数据请求可能会导致错误。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.CommunicationDetails>>> ListWithHttpMessagesAsync (string supportTicketName, int? top = default, string filter = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * Nullable<int> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Support.Models.CommunicationDetails>>>
Public Function ListWithHttpMessagesAsync (supportTicketName As String, Optional top As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of CommunicationDetails)))

参数

supportTicketName
String

支持票证名称。

top
Nullable<Int32>

集合中要返回的值的数目。 默认值为 10,最大值为 10。

filter
String

要应用于操作的筛选器。 可以按 communicationType 和 createdDate 属性进行筛选。 CommunicationType 支持 Equals ('eq') 运算符,createdDate 支持大于 ('gt') 和大于或等于 ('ge') 运算符。 可以通过 Logical and ('and') 运算符组合 CommunicationType 和 CreatedDate 筛选器。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

当操作返回无效状态代码时引发

无法反序列化响应时引发

当所需参数为 null 时引发

适用于