Compartir a través de


AssemblyRuleSerializationExtension Class

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Rule store serialization extension that scans an assembly and creates extension elements based on the types available in the assembly.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Rules.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

public class AssemblyRuleSerializationExtension : IRuleSerializationExtension
'Declaration
Public Class AssemblyRuleSerializationExtension _
    Implements IRuleSerializationExtension
public ref class AssemblyRuleSerializationExtension : IRuleSerializationExtension

Remarks

The extension scans the assembly and looks for types that have an XmlRootAttribute with an element name and a namespace and inherits from ReactiveRuleActionElement and ParameterElement to create CustomElementDefinition<TParentElement> from them.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Rules.Configuration.AssemblyRuleSerializationExtension

See Also

AssemblyRuleSerializationExtension Members

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Rules.Configuration Namespace

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Rules.Configuration.CustomElementDefinition<TParentElement>

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Rules.Configuration.ReactiveRuleActionElement

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.Rules.Configuration.ParameterElement