XmlFormatExtensionAttribute.XmlFormatExtensionAttribute(String, String, Type) Constructor
.NET Framework 2.0
Initializes a new instance of the XmlFormatExtensionAttribute class that specifies the XML element and namespace to add when running at the specified extension point.
Namespace: System.Web.Services.Configuration
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
public:
XmlFormatExtensionAttribute (
String^ elementName,
String^ ns,
Type^ extensionPoint1
)
public XmlFormatExtensionAttribute ( String elementName, String ns, Type extensionPoint1 )
public function XmlFormatExtensionAttribute ( elementName : String, ns : String, extensionPoint1 : Type )
Not applicable.
Parameters
- elementName
The XML element added to the service description by the service description format extension.
- ns
The XML namespace for the XML element added to the service description by the service description format extension.
- extensionPoint1
The extension point at which to run the service description format extension.
// 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.
/** @attribute XmlFormatExtension("action", YMLOperationBinding.YMLNamespace,
OperationBinding.class)
*/
/** @attribute XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace)
*/
public class YMLOperationBinding extends ServiceDescriptionFormatExtension
{
private Boolean reverse;
public final static String YMLNamespace = "http://www.contoso.com/yml";
/** @attribute XmlElement("Reverse")
*/
/** @property
*/
public Boolean get_Reverse()
{
return reverse;
} //get_Reverse
/** @property
*/
public void set_Reverse(Boolean value)
{
reverse = value;
} //set_Reverse
} //YMLOperationBinding
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: