Show / Hide Table of Contents

    Class PortalNotificationConfiguration

    Represents a simplified alert handler's configuration that enables or disables sending automated email messages to Developer Portal administrators in response to pre-defined events.

    Inheritance
    Object
    PortalNotificationConfiguration
    Implements
    IValidator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Services
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class PortalNotificationConfiguration : IValidator

    Constructors

    PortalNotificationConfiguration()

    Declaration
    public PortalNotificationConfiguration()

    Fields

    SupportedAlertHandlers

    Gets collection of alert handler's unique identifiers that can be used in this configuration.

    Declaration
    public static readonly ReadOnlyCollection<Guid> SupportedAlertHandlers
    Field Value
    Type Description
    ReadOnlyCollection<Guid>

    Properties

    EnabledAlertHandlers

    Gets collection of alert handler's unique identifiers that are currently enabled.

    Declaration
    public Collection<Guid> EnabledAlertHandlers { get; }
    Property Value
    Type Description
    Collection<Guid>

    ErrorMessage

    Gets the summary of validation errors populated by the call to Validate() method.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    String

    SecurityRoles

    Gets collection of security roles identifiers which members will receive notification messages.

    Declaration
    public Collection<int> SecurityRoles { get; }
    Property Value
    Type Description
    Collection<Int32>

    ToAddresses

    Gets or sets the string containing e-mail addresses of the message recipients.

    Declaration
    public string ToAddresses { get; set; }
    Property Value
    Type Description
    String
    Examples

    The format of the string is the following:

    "Administrator <admin@test.com>, &quot;Smith, John&quot; <john.smith@test.com>"

    Methods

    Validate()

    Validates this object's state.

    Declaration
    public bool Validate()
    Returns
    Type Description
    Boolean

    True if object's state is valid; otherwise, false.

    Implements

    IValidator
    Back to top Nevatech Sentinet 6.5 Online Documentation