共用方式為


EventGridModelFactory.EventHubCaptureFileCreatedEventData Method

Definition

Initializes a new instance of EventHubCaptureFileCreatedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.EventHubCaptureFileCreatedEventData EventHubCaptureFileCreatedEventData (string fileurl = default, string fileType = default, string partitionId = default, int? sizeInBytes = default, int? eventCount = default, int? firstSequenceNumber = default, int? lastSequenceNumber = default, DateTimeOffset? firstEnqueueTime = default, DateTimeOffset? lastEnqueueTime = default);
static member EventHubCaptureFileCreatedEventData : string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.EventHubCaptureFileCreatedEventData
Public Shared Function EventHubCaptureFileCreatedEventData (Optional fileurl As String = Nothing, Optional fileType As String = Nothing, Optional partitionId As String = Nothing, Optional sizeInBytes As Nullable(Of Integer) = Nothing, Optional eventCount As Nullable(Of Integer) = Nothing, Optional firstSequenceNumber As Nullable(Of Integer) = Nothing, Optional lastSequenceNumber As Nullable(Of Integer) = Nothing, Optional firstEnqueueTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastEnqueueTime As Nullable(Of DateTimeOffset) = Nothing) As EventHubCaptureFileCreatedEventData

Parameters

fileurl
String

The path to the capture file.

fileType
String

The file type of the capture file.

partitionId
String

The shard ID.

sizeInBytes
Nullable<Int32>

The file size.

eventCount
Nullable<Int32>

The number of events in the file.

firstSequenceNumber
Nullable<Int32>

The smallest sequence number from the queue.

lastSequenceNumber
Nullable<Int32>

The last sequence number from the queue.

firstEnqueueTime
Nullable<DateTimeOffset>

The first time from the queue.

lastEnqueueTime
Nullable<DateTimeOffset>

The last time from the queue.

Returns

A new EventHubCaptureFileCreatedEventData instance for mocking.

Applies to