共用方式為


EventGridModelFactory.RedisPatchingCompletedEventData Method

Definition

Initializes a new instance of RedisPatchingCompletedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.RedisPatchingCompletedEventData RedisPatchingCompletedEventData (DateTimeOffset? timestamp = default, string name = default, string status = default);
static member RedisPatchingCompletedEventData : Nullable<DateTimeOffset> * string * string -> Azure.Messaging.EventGrid.SystemEvents.RedisPatchingCompletedEventData
Public Shared Function RedisPatchingCompletedEventData (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional name As String = Nothing, Optional status As String = Nothing) As RedisPatchingCompletedEventData

Parameters

timestamp
Nullable<DateTimeOffset>

The time at which the event occurred.

name
String

The name of this event.

status
String

The status of this event. Failed or succeeded.

Returns

A new RedisPatchingCompletedEventData instance for mocking.

Applies to