共用方式為


TopicsOperationsExtensions.BeginUpdateAsync Method

Definition

Update a topic.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.Topic> BeginUpdateAsync (this Microsoft.Azure.Management.EventGrid.ITopicsOperations operations, string resourceGroupName, string topicName, Microsoft.Azure.Management.EventGrid.Models.TopicUpdateParameters topicUpdateParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.EventGrid.ITopicsOperations * string * string * Microsoft.Azure.Management.EventGrid.Models.TopicUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.Topic>
<Extension()>
Public Function BeginUpdateAsync (operations As ITopicsOperations, resourceGroupName As String, topicName As String, topicUpdateParameters As TopicUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Topic)

Parameters

operations
ITopicsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription.

topicName
String

Name of the topic.

topicUpdateParameters
TopicUpdateParameters

Topic update information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Asynchronously updates a topic with the specified parameters.

Applies to