ChannelFactoryOperations.CreateChannelActingAs ジェネリック メソッド (ジェネリック ChannelFactory, SecurityToken)

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

使用方法

    Dim factory As ChannelFactory(Of T)
Dim actAs As SecurityToken
Dim returnValue As T

returnValue = ChannelFactoryOperations.CreateChannelActingAs(factory, actAs)

構文

'宣言
<ExtensionAttribute> _
Public Shared Function CreateChannelActingAs(Of T) ( _
    factory As ChannelFactory(Of T), _
    actAs As SecurityToken _
) As T
[ExtensionAttribute] 
public static T CreateChannelActingAs<T> (
    ChannelFactory<T> factory,
    SecurityToken actAs
)
[ExtensionAttribute] 
public:
generic<typename T>
static T CreateChannelActingAs (
    ChannelFactory<T>^ factory, 
    SecurityToken^ actAs
)

パラメーター

  • factory
     
  • actAs
     

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

Windows Server 2003, Windows Vista

Target Platforms

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

関連項目

参照

ChannelFactoryOperations クラス
ChannelFactoryOperations メンバー
Microsoft.IdentityModel.Protocols.WSTrust 名前空間