System.Web.Services.Protocols.SoapExtensionAttribute Class

When overridden in a derived class, specifies a SOAP extension should run with an XML Web service method.

See Also: SoapExtensionAttribute Members


public abstract class SoapExtensionAttribute : Attribute


XML Web service methods created using ASP.NET can be configured to run with a SOAP extension by applying an attribute to the XML Web service method. When a custom extension attribute is added to an XML Web service method or a method on a client proxy class, ASP.NET invokes the associated extension at the appropriate time. An extension attribute is a custom attribute class deriving from System.Web.Services.Protocols.SoapExtensionAttribute. Derived attributes must override the SoapExtensionAttribute.ExtensionType property to return the type of extension that is associated with the attribute.


Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0,