This documentation is archived and is not being maintained.

SoapMethodAttribute Class

Customizes SOAP generation and processing for a method. This class cannot be inherited.

For a list of all members of this type, see SoapMethodAttribute Members.


[Visual Basic]
NotInheritable Public Class SoapMethodAttribute
   Inherits SoapAttribute
public sealed class SoapMethodAttribute : SoapAttribute
public __gc __sealed class SoapMethodAttribute : public
class SoapMethodAttribute extends SoapAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


The target objects for the SoapMethodAttribute attribute are methods that can be remotely invoked. Apply the SoapMethodAttribute to customize SOAP generation and processing. Properties of this attribute allow the programmer to customize the SOAPAction HTTP header field to indicate the intent of the SOAP HTTP request.


Namespace: System.Runtime.Remoting.Metadata

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

SoapMethodAttribute Members | System.Runtime.Remoting.Metadata Namespace