TokenProvider.GetExtensions Method

When overridden in a derived class, gets the collection of policy extensions that are registered in the policy file.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim returnValue As IEnumerable(Of KeyValuePair)
Dim tokenProvider1 As TokenProvider(Of SomeType1)
returnValue = tokenProvider1.GetExtensions()

Syntax

'Declaration
Public MustOverride Function GetExtensions() As IEnumerable(Of KeyValuePair(Of String, Type))
public abstract IEnumerable<KeyValuePair<string, Type>> GetExtensions();
public:
virtual IEnumerable<KeyValuePair<String^, Type^>^>^ GetExtensions() abstract;
public abstract IEnumerable<KeyValuePair<System.String, Type>> GetExtensions();
JScript does not support Generics.

Return Value

A System.Collections.Generic.IEnumerable of type System.Collections.Generic.KeyValuePair that contains the set of registered policy extensions.

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

TokenProvider Class
TokenProvider Members
Microsoft.Web.Services3.Design Namespace