共用方式為


EventGridModelFactory.ContainerRegistryEventActor(String) Method

Definition

Initializes a new instance of ContainerRegistryEventActor.

public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventActor ContainerRegistryEventActor (string name = default);
static member ContainerRegistryEventActor : string -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventActor
Public Shared Function ContainerRegistryEventActor (Optional name As String = Nothing) As ContainerRegistryEventActor

Parameters

name
String

The subject or username associated with the request context that generated the event.

Returns

A new ContainerRegistryEventActor instance for mocking.

Applies to