MessagingEventGridNamespacesModelFactory.BrokerProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Exceptions
lockToken
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET