Export (0) Print
Expand All

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.

System.Object
   System.Attribute
      System.Runtime.Remoting.Metadata.SoapAttribute
         System.Runtime.Remoting.Metadata.SoapMethodAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Method)>
NotInheritable Public Class SoapMethodAttribute
   Inherits SoapAttribute
[C#]
[AttributeUsage(AttributeTargets.Method)]
public sealed class SoapMethodAttribute : SoapAttribute
[C++]
[AttributeUsage(AttributeTargets::Method)]
public __gc __sealed class SoapMethodAttribute : public
   SoapAttribute
[JScript]
public
   AttributeUsage(AttributeTargets.Method)
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft