Click or drag to resize

RelayRoutingRule Class

A RoutingRule that always return true when matching. This is useful when implementing a SMTP Relay because there is no special rule needed, all messages should be accepted then.
Inheritance Hierarchy
SystemObject
  ObservableObjectBase
    SMTPRouter.ModelsRoutingRule
      SMTPRouter.ModelsRelayRoutingRule

Namespace:  SMTPRouter.Models
Assembly:  SMTPRouter (in SMTPRouter.dll) Version: 1.0.0.4
Syntax
public class RelayRoutingRule : RoutingRule

The RelayRoutingRule type exposes the following members.

Constructors
  NameDescription
Public methodRelayRoutingRule
Initializes a new instance of the RelayRoutingRule
Top
Properties
  NameDescription
Public propertyExecutionSequence
The Priority of the Rule. The lower the number is, the higher the priority is.
(Inherited from RoutingRule.)
Public propertySmtpConfigurationKey
The Smtp Configuration Key
(Inherited from RoutingRule.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMatch
Validates the rule
(Overrides RoutingRuleMatch(MimeMessage).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged (Inherited from ObservableObjectBase.)
Protected methodSetProperty``1 (Inherited from ObservableObjectBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged (Inherited from ObservableObjectBase.)
Top
See Also