Table of Contents

Class NotificationAttachment

Namespace
ArcanaDevelopment.adTempus.Shared.Notification
Assembly
ArcanaDevelopment.adTempus.Shared.dll

A file attachment for a NotificationMessage

[DataContract]
public class NotificationAttachment : INotificationAttachment
Inheritance
object
NotificationAttachment
Implements

Constructors

NotificationAttachment()

public NotificationAttachment()

Properties

DeleteAfterSend

Indicates whether the file should be deleted after the message is successfully sent.

[DataMember]
public bool DeleteAfterSend { get; set; }

Property Value

bool

DisplayName

The name to be used as the name of the attachment (the original name of the file).

[DataMember]
public string DisplayName { get; set; }

Property Value

string

FileData

The file data to use instead of a file on disk.

[DataMember]
public byte[] FileData { get; set; }

Property Value

byte[]

FileLocation

The path/name of the file as stored on the filesystem.

[DataMember]
public string FileLocation { get; set; }

Property Value

string

Methods

Clone()

public NotificationAttachment Clone()

Returns

NotificationAttachment