Share via


EventGridModelFactory.AcsMessageMediaContent Method

Definition

Initializes a new instance of AcsMessageMediaContent.

public static Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent AcsMessageMediaContent (string mimeType = default, string mediaId = default, string fileName = default, string caption = default);
static member AcsMessageMediaContent : string * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.AcsMessageMediaContent
Public Shared Function AcsMessageMediaContent (Optional mimeType As String = Nothing, Optional mediaId As String = Nothing, Optional fileName As String = Nothing, Optional caption As String = Nothing) As AcsMessageMediaContent

Parameters

mimeType
String

The MIME type of the file this media represents.

mediaId
String

The media identifier.

fileName
String

The filename of the underlying media file as specified when uploaded.

caption
String

The caption for the media object, if supported and provided.

Returns

A new AcsMessageMediaContent instance for mocking.

Applies to