你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MessageTemplateDocument 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
MessageTemplateDocument(String, Uri) |
Initializes a new instance of MessageTemplateDocument. |
MessageTemplateDocument(String, Uri, String, String) |
MessageTemplateDocument(String, Uri)
- Source:
- MessageTemplateDocument.cs
Initializes a new instance of MessageTemplateDocument.
public MessageTemplateDocument (string name, Uri uri);
new Azure.Communication.Messages.MessageTemplateDocument : string * Uri -> Azure.Communication.Messages.MessageTemplateDocument
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
MessageTemplateDocument(String, Uri, String, String)
- Source:
- MessageTemplateDocument.cs
public MessageTemplateDocument (string name, Uri uri, string caption = default, string fileName = default);
new Azure.Communication.Messages.MessageTemplateDocument : string * Uri * string * string -> Azure.Communication.Messages.MessageTemplateDocument
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