MessageTemplateImage Constructors
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.
Overloads
MessageTemplateImage(String, Uri) |
Initializes a new instance of MessageTemplateImage. |
MessageTemplateImage(String, Uri, String, String) |
MessageTemplateImage(String, Uri)
- Source:
- MessageTemplateImage.cs
Initializes a new instance of MessageTemplateImage.
public MessageTemplateImage (string name, Uri uri);
new Azure.Communication.Messages.MessageTemplateImage : string * Uri -> Azure.Communication.Messages.MessageTemplateImage
Public Sub New (name As String, uri As Uri)
Parameters
- name
- String
Template binding reference name.
- uri
- Uri
The (public) URL of the media.
Exceptions
name
or uri
is null.
Applies to
MessageTemplateImage(String, Uri, String, String)
- Source:
- MessageTemplateImage.cs
public MessageTemplateImage (string name, Uri uri, string caption = default, string fileName = default);
new Azure.Communication.Messages.MessageTemplateImage : string * Uri * string * string -> Azure.Communication.Messages.MessageTemplateImage
Public Sub New (name As String, uri As Uri, Optional caption As String = Nothing, Optional fileName As String = Nothing)
Parameters
- name
- String
- uri
- Uri
- caption
- String
- fileName
- String
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET