ServiceTokenCollection Class

Represents a collection of <serviceToken> elements that specifies the X509SecurityToken security token that protects the SOAP messages.

Namespace: Microsoft.Web.Services3.Security.Configuration
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim serviceTokenCollection1 As New ServiceTokenCollection()

Syntax

'Declaration
Public Class ServiceTokenCollection
    Inherits ConfigurationElementCollection
public class ServiceTokenCollection : ConfigurationElementCollection
public ref class ServiceTokenCollection : ConfigurationElementCollection
public class ServiceTokenCollection extends ConfigurationElementCollection
public class ServiceTokenCollection extends ConfigurationElementCollection

Remarks

Use the <serviceToken> element with the <anonymousForCertificateSecurity> element, <mutualCertificate10Security> element, <mutualCertificate11Security> element, and <usernameForCertificateSecurity> element turnkey security assertions to specify the Web service's X509SecurityToken security token.

Inheritance Hierarchy

System.Object
   System.Configuration.ConfigurationElement
     System.Configuration.ConfigurationElementCollection
      Microsoft.Web.Services3.Security.Configuration.ServiceTokenCollection

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

ServiceTokenCollection Members
Microsoft.Web.Services3.Security.Configuration Namespace