共用方式為


EventGridModelFactory.DataBoxCopyCompletedEventData Method

Definition

Initializes a new instance of DataBoxCopyCompletedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.DataBoxCopyCompletedEventData DataBoxCopyCompletedEventData (string serialNumber = default, Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName? stageName = default, DateTimeOffset? stageTime = default);
static member DataBoxCopyCompletedEventData : string * Nullable<Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName> * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.DataBoxCopyCompletedEventData
Public Shared Function DataBoxCopyCompletedEventData (Optional serialNumber As String = Nothing, Optional stageName As Nullable(Of DataBoxStageName) = Nothing, Optional stageTime As Nullable(Of DateTimeOffset) = Nothing) As DataBoxCopyCompletedEventData

Parameters

serialNumber
String

Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.

stageName
Nullable<DataBoxStageName>

Name of the current Stage.

stageTime
Nullable<DateTimeOffset>

The time at which the stage happened.

Returns

A new DataBoxCopyCompletedEventData instance for mocking.

Applies to