Condividi tramite


EventGridModelFactory.ServiceBusActiveMessagesAvailableWithNoListenersEventData Method

Definition

public static Azure.Messaging.EventGrid.SystemEvents.ServiceBusActiveMessagesAvailableWithNoListenersEventData ServiceBusActiveMessagesAvailableWithNoListenersEventData (string namespaceName = default, string requestUri = default, string entityType = default, string queueName = default, string topicName = default, string subscriptionName = default);
static member ServiceBusActiveMessagesAvailableWithNoListenersEventData : string * string * string * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.ServiceBusActiveMessagesAvailableWithNoListenersEventData
Public Shared Function ServiceBusActiveMessagesAvailableWithNoListenersEventData (Optional namespaceName As String = Nothing, Optional requestUri As String = Nothing, Optional entityType As String = Nothing, Optional queueName As String = Nothing, Optional topicName As String = Nothing, Optional subscriptionName As String = Nothing) As ServiceBusActiveMessagesAvailableWithNoListenersEventData

Parameters

namespaceName
String

The namespace name of the Microsoft.ServiceBus resource.

requestUri
String

The endpoint of the Microsoft.ServiceBus resource.

entityType
String

The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'.

queueName
String

The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null.

topicName
String

The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null.

subscriptionName
String

The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null.

Returns

A new ServiceBusActiveMessagesAvailableWithNoListenersEventData instance for mocking.

Applies to