ChannelFactory<TChannel>.CreateChannelWithOnBehalfOfToken ChannelFactory<TChannel>.CreateChannelWithOnBehalfOfToken ChannelFactory<TChannel>.CreateChannelWithOnBehalfOfToken ChannelFactory<TChannel>.CreateChannelWithOnBehalfOfToken Method

Definition

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

Overloads

CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri)

Creates a channel that is used to send messages to a service with an on behalf of security token at a specific endpoint address through a specified transport address.

CreateChannelWithOnBehalfOfToken(SecurityToken) CreateChannelWithOnBehalfOfToken(SecurityToken) CreateChannelWithOnBehalfOfToken(SecurityToken) CreateChannelWithOnBehalfOfToken(SecurityToken)

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

CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress)

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

CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri)

Creates a channel that is used to send messages to a service with an on behalf of security token at a specific endpoint address through a specified transport address.

public:
 TChannel CreateChannelWithOnBehalfOfToken(System::IdentityModel::Tokens::SecurityToken ^ onBehalfOf, System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public TChannel CreateChannelWithOnBehalfOfToken (System.IdentityModel.Tokens.SecurityToken onBehalfOf, System.ServiceModel.EndpointAddress address, Uri via);
member this.CreateChannelWithOnBehalfOfToken : System.IdentityModel.Tokens.SecurityToken * System.ServiceModel.EndpointAddress * Uri -> 'Channel
Public Function CreateChannelWithOnBehalfOfToken (onBehalfOf As SecurityToken, address As EndpointAddress, via As Uri) As TChannel

Parameters

onBehalfOf
SecurityToken SecurityToken SecurityToken SecurityToken

The security token.

address
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The endpoint address that provides the location of the service.

via
Uri Uri Uri Uri

The transport address to which the channel sends messages.

Returns

TChannel TChannel TChannel TChannel

The created channel factory.

CreateChannelWithOnBehalfOfToken(SecurityToken) CreateChannelWithOnBehalfOfToken(SecurityToken) CreateChannelWithOnBehalfOfToken(SecurityToken) CreateChannelWithOnBehalfOfToken(SecurityToken)

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

public:
 TChannel CreateChannelWithOnBehalfOfToken(System::IdentityModel::Tokens::SecurityToken ^ onBehalfOf);
public TChannel CreateChannelWithOnBehalfOfToken (System.IdentityModel.Tokens.SecurityToken onBehalfOf);
member this.CreateChannelWithOnBehalfOfToken : System.IdentityModel.Tokens.SecurityToken -> 'Channel
Public Function CreateChannelWithOnBehalfOfToken (onBehalfOf As SecurityToken) As TChannel

Parameters

onBehalfOf
SecurityToken SecurityToken SecurityToken SecurityToken

The security token.

Returns

TChannel TChannel TChannel TChannel

The created channel factory.

CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress) CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress)

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

public:
 TChannel CreateChannelWithOnBehalfOfToken(System::IdentityModel::Tokens::SecurityToken ^ onBehalfOf, System::ServiceModel::EndpointAddress ^ address);
public TChannel CreateChannelWithOnBehalfOfToken (System.IdentityModel.Tokens.SecurityToken onBehalfOf, System.ServiceModel.EndpointAddress address);
member this.CreateChannelWithOnBehalfOfToken : System.IdentityModel.Tokens.SecurityToken * System.ServiceModel.EndpointAddress -> 'Channel
Public Function CreateChannelWithOnBehalfOfToken (onBehalfOf As SecurityToken, address As EndpointAddress) As TChannel

Parameters

onBehalfOf
SecurityToken SecurityToken SecurityToken SecurityToken

The security token.

address
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The endpoint address that provides the location of the service.

Returns

TChannel TChannel TChannel TChannel

The created channel factory.

Applies to