EventGridModelFactory.AcsMessageMediaContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET