Share via


EventGridNamespacesModelFactory.BrokerProperties(String, Int32) Method

Definition

Initializes a new instance of BrokerProperties.

public static Azure.Messaging.EventGrid.Namespaces.BrokerProperties BrokerProperties (string lockToken = default, int deliveryCount = 0);
static member BrokerProperties : string * int -> Azure.Messaging.EventGrid.Namespaces.BrokerProperties
Public Shared Function BrokerProperties (Optional lockToken As String = Nothing, Optional deliveryCount As Integer = 0) As BrokerProperties

Parameters

lockToken
String

The token of the lock on the event.

deliveryCount
Int32

The attempt count for delivering the event.

Returns

A new BrokerProperties instance for mocking.

Applies to