XmlFormatExtensionAttribute.ExtensionPoints Propriété

Définition

Étapes auxquelles l’extension de format de description du service doit s’exécuter.

public:
 property cli::array <Type ^> ^ ExtensionPoints { cli::array <Type ^> ^ get(); void set(cli::array <Type ^> ^ value); };
public Type[] ExtensionPoints { get; set; }
member this.ExtensionPoints : Type[] with get, set
Public Property ExtensionPoints As Type()

Valeur de propriété

Type[]

Tableau de Type ce qui spécifie la phase à laquelle l’extension de format de description du service doit s’exécuter.

Exemples

// The YMLOperationBinding class is part of the YML SDFE, as it is the
// class that is serialized into XML and is placed in the service
// description.
[XmlFormatExtension("action", YMLOperationBinding.YMLNamespace,
    typeof(OperationBinding))]
[XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace)]
public class YMLOperationBinding : ServiceDescriptionFormatExtension
{
    private Boolean reverse;

    public const string YMLNamespace = "http://www.contoso.com/yml";

    [XmlElement("Reverse")]
    public Boolean Reverse
    {
        get { return reverse; }
        set { reverse = value; }
    }
}
' The YMLOperationBinding class is part of the YML SDFE, as it is the
' class that is serialized into XML and is placed in the service
' description.
<XmlFormatExtension("action", YMLOperationBinding.YMLNamespace, _
    GetType(OperationBinding)), _
    XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace)> _
Public Class YMLOperationBinding
    Inherits ServiceDescriptionFormatExtension
    Private _reverse As Boolean
    Public Const YMLNamespace As String = "http://www.contoso.com/yml"

    <XmlElement("Reverse")> _
    Public Property Reverse() As Boolean
        Get
            Return _reverse
        End Get
        Set(ByVal Value As Boolean)
            _reverse = Value
        End Set
    End Property

End Class

Remarques

La liste des types disponibles avec lesquels une extension de format de description de service peut s’exécuter inclut celles intégrées à ASP.NET et tous les types personnalisés configurés sur le serveur Web. Les types intégrés à ASP.NET qui peuvent s’exécuter avec une extension de format de description de service figurent dans la liste suivante :

Ces classes font tous référence à des sections, dans une description de service, générées par ASP.NET.

S’applique à