Freigeben über


Generische ChannelFactoryOperations.CreateChannelActingAs-Methode (Generische/r/s ChannelFactory, EndpointAddress, SecurityToken)

Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

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

returnValue = ChannelFactoryOperations.CreateChannelActingAs(factory, address, actAs)

Syntax

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

Parameter

  • factory
     
  • address
     
  • actAs
     

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ChannelFactoryOperations Class
ChannelFactoryOperations Members
Microsoft.IdentityModel.Protocols.WSTrust Namespace