ChannelFactory<TChannel>.CreateChannelWithOnBehalfOfToken Método
Definição
Cria um canal que é usado para enviar mensagens para um serviço em nome de um token de segurança.Creates a channel that is used to send messages to a service with an on behalf of security token.
Sobrecargas
| CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress, Uri) |
Cria um canal que é usado para enviar mensagens para um serviço com um token de segurança em nome de em um endereço do ponto de extremidade específico por meio de um endereço de transporte especificado.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) |
Cria um canal que é usado para enviar mensagens para um serviço em nome de um token de segurança.Creates a channel that is used to send messages to a service with an on behalf of security token. |
| CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress) |
Cria um canal que é usado para enviar mensagens para um serviço com um token de segurança em nome de em um endereço do ponto de extremidade específico.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)
Cria um canal que é usado para enviar mensagens para um serviço com um token de segurança em nome de em um endereço do ponto de extremidade específico por meio de um endereço de transporte especificado.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
Parâmetros
- onBehalfOf
- SecurityToken
O token de segurança.The security token.
- address
- EndpointAddress
O endereço do ponto de extremidade que fornece a localização do serviço.The endpoint address that provides the location of the service.
- via
- Uri
O endereço de transporte para o qual o canal envia mensagens.The transport address to which the channel sends messages.
Retornos
- TChannel
A fábrica de canais criada.The created channel factory.
Aplica-se a
CreateChannelWithOnBehalfOfToken(SecurityToken)
Cria um canal que é usado para enviar mensagens para um serviço em nome de um token de segurança.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
Parâmetros
- onBehalfOf
- SecurityToken
O token de segurança.The security token.
Retornos
- TChannel
A fábrica de canais criada.The created channel factory.
Aplica-se a
CreateChannelWithOnBehalfOfToken(SecurityToken, EndpointAddress)
Cria um canal que é usado para enviar mensagens para um serviço com um token de segurança em nome de em um endereço do ponto de extremidade específico.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
Parâmetros
- onBehalfOf
- SecurityToken
O token de segurança.The security token.
- address
- EndpointAddress
O endereço do ponto de extremidade que fornece a localização do serviço.The endpoint address that provides the location of the service.
Retornos
- TChannel
A fábrica de canais criada.The created channel factory.