XmlFormatExtensionAttribute.ExtensionPoints Propiedad

Definición

Fases en las que se va a ejecutar la extensión de formato de descripción de servicio.

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()

Valor de propiedad

Type[]

Matriz de Type que especifica la fase en la que se va a ejecutar la extensión de formato de descripción de servicio.

Ejemplos

// 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

Comentarios

La lista de tipos disponibles con los que se puede ejecutar una extensión de formato de descripción de servicio incluye los integrados en ASP.NET y los tipos personalizados configurados en el servidor web. Los tipos integrados en ASP.NET que se pueden ejecutar con una extensión de formato de descripción de servicio se encuentran en la lista siguiente:

Todas estas clases hacen referencia a secciones, dentro de una descripción del servicio, generadas por ASP.NET.

Se aplica a