Export (0) Print
Expand All

ChannelFactory(Of TChannel).CreateChannelWithOnBehalfOfToken Method (SecurityToken)

.NET Framework 4.5

Creates a channel that is used to send messages to a service with an on behalf of security token.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Function CreateChannelWithOnBehalfOfToken ( _
	onBehalfOf As SecurityToken _
) As TChannel

Parameters

onBehalfOf
Type: System.IdentityModel.Tokens.SecurityToken

The security token.

Return Value

Type: TChannel
The created channel factory.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft