ChannelFactory<TChannel>.CreateChannelWithActAsToken Method (SecurityToken)

.NET Framework (current version)
 

Creates a channel that is used to send messages to a service with an act as security token.

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

public TChannel CreateChannelWithActAsToken(
	SecurityToken actAsToken
)

Parameters

actAsToken
Type: System.IdentityModel.Tokens.SecurityToken

The security token.

Return Value

Type: TChannel

The created channel factory.

.NET Framework
Available since 4.5
Return to top
Show: