Attachment 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
| Attachment() |
Initializes a new instance of Attachment. |
| Attachment(String, String, Object, String, String) |
Initializes a new instance of Attachment. |
Attachment()
Initializes a new instance of Attachment.
public Attachment();
Public Sub New ()
Applies to
Attachment(String, String, Object, String, String)
Initializes a new instance of Attachment.
public Attachment(string contentType = default, string contentUrl = default, object content = default, string name = default, string thumbnailUrl = default);
new Microsoft.Agents.Core.Models.Attachment : string * string * obj * string * string -> Microsoft.Agents.Core.Models.Attachment
Public Sub New (Optional contentType As String = Nothing, Optional contentUrl As String = Nothing, Optional content As Object = Nothing, Optional name As String = Nothing, Optional thumbnailUrl As String = Nothing)
Parameters
- contentType
- String
mimetype/Contenttype for the file.
- contentUrl
- String
Content Url.
- content
- Object
Embedded content.
- name
- String
(OPTIONAL) The name of the attachment.
- thumbnailUrl
- String
(OPTIONAL) Thumbnail associated with attachment.