Condividi tramite


ServiceTokenCollection.CreateNewElement Method ()

When overridden in a derived class, creates a new ConfigurationElement.

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

Usage

'Usage
Public Class serviceTokenCollectionImplementation
    Inherits ServiceTokenCollection
        Protected Overrides Function CreateNewElement()
            MyBase.CreateNewElement()
        End Function
End Class

Syntax

'Declaration
Overloads Protected Overrides Function CreateNewElement() As ConfigurationElement
protected override ConfigurationElement CreateNewElement();
protected:
virtual ConfigurationElement^ CreateNewElement() override;
protected override ConfigurationElement CreateNewElement();
protected override function CreateNewElement() : ConfigurationElement;

Return Value

A new ConfigurationElement.

Remarks

Override the CreateNewElement method to create custom ConfigurationElement objects of a specific type.

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 Class
ServiceTokenCollection Members
Microsoft.Web.Services3.Security.Configuration Namespace