次の方法で共有


ServiceConfiguration.SecurityTokenHandlers プロパティ

Gets or sets the collection of T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler objects used for serializing and validating tokens found in WS-Trust messages. If user wants to register their own token handler, they can simply add their own handler to this collection.

名前空間: Microsoft.IdentityModel.Configuration
アセンブリ: Microsoft.IdentityModel (microsoft.identitymodel.dll 中)

使用方法

    Dim instance As ServiceConfiguration
Dim value As SecurityTokenHandlerCollection

value = instance.SecurityTokenHandlers

構文

'宣言
Public ReadOnly Property SecurityTokenHandlers As SecurityTokenHandlerCollection
public SecurityTokenHandlerCollection SecurityTokenHandlers { get; }
public:
property SecurityTokenHandlerCollection^ SecurityTokenHandlers {
    SecurityTokenHandlerCollection^ get ();
}
/** @property */
public SecurityTokenHandlerCollection get_SecurityTokenHandlers ()
public function get SecurityTokenHandlers () : SecurityTokenHandlerCollection

プロパティ値

A collection of T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler objects.

例外

例外の種類 条件

スレッド セーフ

この型のパブリックな静的 (Visual Basic では共有) メンバーは、すべてスレッド セーフです。インスタンス メンバーはすべて、スレッド セーフであることが保証されません。

プラットフォーム

開発プラットフォーム

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

関連項目

参照

ServiceConfiguration クラス
ServiceConfiguration メンバー
Microsoft.IdentityModel.Configuration 名前空間