Condividi tramite


ServiceTokenConfiguration Class

Represents a <serviceToken> element 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 serviceTokenConfiguration1 As New ServiceTokenConfiguration()

Syntax

'Declaration
Public Class ServiceTokenConfiguration
    Inherits ConfigurationElement
public class ServiceTokenConfiguration : ConfigurationElement
public ref class ServiceTokenConfiguration : ConfigurationElement
public class ServiceTokenConfiguration extends ConfigurationElement
public class ServiceTokenConfiguration extends ConfigurationElement

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
    Microsoft.Web.Services3.Security.Configuration.ServiceTokenConfiguration

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

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