Share via


NamespaceManager.RevokePublisherAsync(String, String) Method

Definition

Asynchronous version of RevokePublisher(String, String).

public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.RevokedPublisherDescription> RevokePublisherAsync (string entityPath, string publisher);
member this.RevokePublisherAsync : string * string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.RevokedPublisherDescription>
Public Function RevokePublisherAsync (entityPath As String, publisher As String) As Task(Of RevokedPublisherDescription)

Parameters

entityPath
String

Event Hub path under which the publisher must be revoked. See EventHubDescription.

publisher
String

The publisher to revoke.

Returns

Returns Task<TResult>.

Applies to