System.Xml.Serialization.XmlSerializerAssemblyAttribute Class

Applied to a Web service client proxy, enables you to specify an assembly that contains custom-made serializers.

See Also: XmlSerializerAssemblyAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.All)]
public sealed class XmlSerializerAssemblyAttribute : Attribute

Remarks

Use the System.Xml.Serialization.XmlSerializerAssemblyAttribute to increase the performance of a Web service client application.

A typical method of using this attribute is as follows:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

Example

<XmlSerializerAssemblyAttribute(AssemblyName:="hello.serializer")> _
Public Class Hello
Implements System.Web.Services.Protocols.SoapHttpClientProtocol 
   ' Proxy code not shown.
End Class

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0