SoapMethodAttribute Class
Indicates that a method is callable across the Internet. This class cannot be inherited.
Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim soapAction As String
Dim soapMethodAttribute1 As New SoapMethodAttribute(soapAction)
Syntax
'Declaration
NotInheritable Public Class SoapMethodAttribute
Inherits Attribute
public sealed class SoapMethodAttribute : Attribute
public ref class SoapMethodAttribute sealed : Attribute
public final class SoapMethodAttribute extends Attribute
public class SoapMethodAttribute extends Attribute
Remarks
The SoapMethodAttribute attribute can be applied only to a method in a class that derives from the SoapService class. One of the method's parameters must be either a SoapEnvelope or an XML serializable type, and the method's return type must be a SoapEnvelope or an XML serializable type. The SoapMethodAttribute allows you to specify the SOAP action for the SOAP operation.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Web.Services3.Messaging.SoapMethodAttribute
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SoapMethodAttribute Members
Microsoft.Web.Services3.Messaging Namespace