Click or drag to resize

EmailNotifier Class

Represents a notifier that can send notifications in email messages.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    GSF.AdaptersAdapter
      GSF.Historian.NotifiersNotifierBase
        GSF.Historian.NotifiersEmailNotifier

Namespace: GSF.Historian.Notifiers
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.181-beta
Syntax
public class EmailNotifier : NotifierBase
View Source

The EmailNotifier type exposes the following members.

Constructors
 NameDescription
Public methodEmailNotifier Initializes a new instance of the EmailNotifier class.
Top
Properties
 NameDescription
Public propertyDomain Gets the AppDomain in which the Adapter is executing.
(Inherited from Adapter)
Public propertyEmailRecipients Gets or sets the email addresses (comma or semicolon delimited) where the email messages are to be sent.
Public propertyEmailSender Gets or sets the email address to be used for sending the email messages.
Public propertyEmailServer Gets or sets the SMTP server to use for sending the email messages.
Public propertyEnabled Gets or sets a boolean value that indicates whether the Adapter is currently enabled.
(Inherited from Adapter)
Public propertyHostFile Gets or sets the path to the file where the Adapter is housed.
(Inherited from Adapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from Adapter)
Public propertyMemoryUsage Gets the memory utilization of the Adapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from Adapter)
Public propertyName Gets the unique identifier of the Adapter.
(Inherited from Adapter)
Public propertyNotifyOptions Gets or set NotificationTypes that can be processed by the notifier.
(Inherited from NotifierBase)
Public propertyNotifyTimeout Gets or sets the number of seconds to wait for Notify(String, String, String, NotificationTypes) to complete.
(Inherited from NotifierBase)
Public propertyPersistSettings Gets or sets a boolean value that indicates whether Adapter settings are to be saved to the config file.
(Inherited from Adapter)
Public propertyProcessorUsage Gets the % processor utilization of the Adapter if executing in a separate AppDomain otherwise NaN.
(Inherited from Adapter)
Public propertySettingsCategory Gets or sets the category under which Adapter settings are to be saved to the config file if the PersistSettings property is set to true.
(Inherited from Adapter)
Public propertyStatus Gets the descriptive status of the Adapter.
(Inherited from Adapter)
Public propertyTypeName Gets or sets the text representation of the Adapter's TypeName.
(Inherited from Adapter)
Top
Methods
 NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDispose Releases all the resources used by the Adapter.
(Inherited from Adapter)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the notifier and optionally releases the managed resources.
(Inherited from NotifierBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the Adapter is reclaimed by GC.
(Inherited from Adapter)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the Adapter.
(Inherited from Adapter)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodLoadSettings Loads saved EmailNotifier settings from the config file if the PersistSettings property is set to true.
(Overrides NotifierBaseLoadSettings)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Public methodNotify Process a notification.
(Inherited from NotifierBase)
Protected methodNotifyAlarm Processes a Alarm notification.
(Overrides NotifierBaseNotifyAlarm(String, String, String))
Protected methodNotifyHeartbeat Processes a Heartbeat notification.
(Overrides NotifierBaseNotifyHeartbeat(String, String, String))
Protected methodNotifyInformation Processes a Information notification.
(Overrides NotifierBaseNotifyInformation(String, String, String))
Protected methodNotifyWarning Processes a Warning notification.
(Overrides NotifierBaseNotifyWarning(String, String, String))
Protected methodOnDisposed Raises the Disposed event.
(Inherited from Adapter)
Protected methodOnExecutionException Raises the ExecutionException event.
(Inherited from Adapter)
Protected methodOnNotificationSendComplete Raises the NotificationSendComplete event.
(Inherited from NotifierBase)
Protected methodOnNotificationSendException Raises the NotificationSendException event.
(Inherited from NotifierBase)
Protected methodOnNotificationSendStart Raises the NotificationSendStart event.
(Inherited from NotifierBase)
Protected methodOnNotificationSendTimeout Raises the NotificationSendTimeout event.
(Inherited from NotifierBase)
Protected methodOnStatusUpdate Raises the StatusUpdate event.
(Inherited from Adapter)
Public methodSaveSettings Saves EmailNotifier settings to the config file if the PersistSettings property is set to true.
(Overrides NotifierBaseSaveSettings)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDisposed Occurs when Adapter is disposed.
(Inherited from Adapter)
Public eventExecutionException Occurs when the IAdapter encounters an Exception during execution.
(Inherited from Adapter)
Public eventNotificationSendComplete Occurs when a notification has been sent.
(Inherited from NotifierBase)
Public eventNotificationSendException Occurs when an Exception is encountered while sending a notification.
(Inherited from NotifierBase)
Public eventNotificationSendStart Occurs when a notification is being sent.
(Inherited from NotifierBase)
Public eventNotificationSendTimeout Occurs when a timeout is encountered while sending a notification.
(Inherited from NotifierBase)
Public eventStatusUpdate Occurs when the Adapter wants to provide a status update.
(Inherited from Adapter)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also