Partilhar via


EventGridNamespacesModelFactory.ReceiveResult Method

Definition

Initializes a new instance of ReceiveResult.

public static Azure.Messaging.EventGrid.Namespaces.ReceiveResult ReceiveResult (System.Collections.Generic.IEnumerable<Azure.Messaging.EventGrid.Namespaces.ReceiveDetails> details = default);
static member ReceiveResult : seq<Azure.Messaging.EventGrid.Namespaces.ReceiveDetails> -> Azure.Messaging.EventGrid.Namespaces.ReceiveResult
Public Shared Function ReceiveResult (Optional details As IEnumerable(Of ReceiveDetails) = Nothing) As ReceiveResult

Parameters

details
IEnumerable<ReceiveDetails>

Array of receive responses, one per cloud event.

Returns

A new ReceiveResult instance for mocking.

Applies to