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

PartnerTopicsOperationsExtensions.UpdateAsync 方法

定义

更新合作伙伴主题。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic> UpdateAsync (this Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations operations, string resourceGroupName, string partnerTopicName, Microsoft.Azure.Management.EventGrid.Models.PartnerTopicUpdateParameters partnerTopicUpdateParameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations * string * string * Microsoft.Azure.Management.EventGrid.Models.PartnerTopicUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic>
<Extension()>
Public Function UpdateAsync (operations As IPartnerTopicsOperations, resourceGroupName As String, partnerTopicName As String, partnerTopicUpdateParameters As PartnerTopicUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PartnerTopic)

参数

operations
IPartnerTopicsOperations

此扩展方法的操作组。

resourceGroupName
String

用户订阅中的资源组的名称。

partnerTopicName
String

合作伙伴主题的名称。

partnerTopicUpdateParameters
PartnerTopicUpdateParameters

PartnerTopic 更新信息。

cancellationToken
CancellationToken

取消标记。

返回

注解

使用指定的参数异步更新合作伙伴主题。

适用于