ChannelFactory<TChannel>.CreateChannelWithIssuedToken Method (SecurityToken, EndpointAddress)
Creates a channel that is used to send messages to a service with an issued security token at a specific endpoint address.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public TChannel CreateChannelWithIssuedToken( SecurityToken issuedToken, EndpointAddress address )
- Type: System.IdentityModel.Tokens.SecurityToken
The issued security token.
- Type: System.ServiceModel.EndpointAddress
The endpoint address that provides the location of the service.
Return ValueType: TChannel
The created channel factory.