Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim factory As ChannelFactory(Of T)
Dim address As EndpointAddress
Dim via As Uri
Dim onBehalfOf As SecurityToken
Dim returnValue As T
returnValue = ChannelFactoryOperations.CreateChannelOnBehalfOf(factory, address, via, onBehalfOf)
|
Syntax
Visual Basic |
<ExtensionAttribute> _
Public Shared Function CreateChannelOnBehalfOf(Of T) ( _
factory As ChannelFactory(Of T), _
address As EndpointAddress, _
via As Uri, _
onBehalfOf As SecurityToken _
) As T
|
C# |
[ExtensionAttribute]
public static T CreateChannelOnBehalfOf<T> (
ChannelFactory<T> factory,
EndpointAddress address,
Uri via,
SecurityToken onBehalfOf
)
|
C++ |
[ExtensionAttribute]
public:
generic<typename T>
static T CreateChannelOnBehalfOf (
ChannelFactory<T>^ factory,
EndpointAddress^ address,
Uri^ via,
SecurityToken^ onBehalfOf
)
|
Parameters
- factory
- address
- via
- onBehalfOf
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 Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also