Partager via


SoapServiceAttribute Class

Indicates that a service 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 targetNamespace As String
Dim soapServiceAttribute1 As New SoapServiceAttribute(targetNamespace)

Syntax

'Declaration
NotInheritable Public Class SoapServiceAttribute
    Inherits Attribute
public sealed class SoapServiceAttribute : Attribute
public ref class SoapServiceAttribute sealed : Attribute
public final class SoapServiceAttribute extends Attribute
public class SoapServiceAttribute extends Attribute

Remarks

Use this attribute for declaring the targetNamespace attribute for generated WSDL. This value is also used as the default namespace for any XML serialization of types that do not have XmlRootAttribute or XmlTypeAttribute attributes applied.

Inheritance Hierarchy

System.Object
   System.Attribute
    Microsoft.Web.Services3.Messaging.SoapServiceAttribute

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

SoapServiceAttribute Members
Microsoft.Web.Services3.Messaging Namespace