ChannelFactory<TChannel>.CreateChannelWithActAsToken Método
Definição
Cria um canal que é usado para enviar mensagens para um serviço com uma ação como token de segurança.Creates a channel that is used to send messages to a service with an act as security token.
Sobrecargas
| CreateChannelWithActAsToken(SecurityToken) |
Cria um canal que é usado para enviar mensagens para um serviço com uma ação como token de segurança.Creates a channel that is used to send messages to a service with an act as security token. |
| CreateChannelWithActAsToken(SecurityToken, EndpointAddress) |
Cria um canal que é usado para enviar mensagens para um serviço com uma ação como token de segurança em um endereço do ponto de extremidade específico.Creates a channel that is used to send messages to a service with an act as security token at a specific endpoint address. |
| CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri) |
Cria um canal que é usado para enviar mensagens para um serviço com uma ação como um token de segurança 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 act as security token at a specific endpoint address through a specified transport address. |
CreateChannelWithActAsToken(SecurityToken)
Cria um canal que é usado para enviar mensagens para um serviço com uma ação como token de segurança.Creates a channel that is used to send messages to a service with an act as security token.
public:
TChannel CreateChannelWithActAsToken(System::IdentityModel::Tokens::SecurityToken ^ actAsToken);
public TChannel CreateChannelWithActAsToken (System.IdentityModel.Tokens.SecurityToken actAsToken);
member this.CreateChannelWithActAsToken : System.IdentityModel.Tokens.SecurityToken -> 'Channel
Public Function CreateChannelWithActAsToken (actAsToken As SecurityToken) As TChannel
Parâmetros
- actAsToken
- SecurityToken
O token de segurança.The security token.
Retornos
- TChannel
A fábrica de canais criada.The created channel factory.
Aplica-se a
CreateChannelWithActAsToken(SecurityToken, EndpointAddress)
Cria um canal que é usado para enviar mensagens para um serviço com uma ação como token de segurança em um endereço do ponto de extremidade específico.Creates a channel that is used to send messages to a service with an act as security token at a specific endpoint address.
public:
TChannel CreateChannelWithActAsToken(System::IdentityModel::Tokens::SecurityToken ^ actAsToken, System::ServiceModel::EndpointAddress ^ address);
public TChannel CreateChannelWithActAsToken (System.IdentityModel.Tokens.SecurityToken actAsToken, System.ServiceModel.EndpointAddress address);
member this.CreateChannelWithActAsToken : System.IdentityModel.Tokens.SecurityToken * System.ServiceModel.EndpointAddress -> 'Channel
Public Function CreateChannelWithActAsToken (actAsToken As SecurityToken, address As EndpointAddress) As TChannel
Parâmetros
- actAsToken
- SecurityToken
O token de segurançaThe 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.
Aplica-se a
CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)
Cria um canal que é usado para enviar mensagens para um serviço com uma ação como um token de segurança 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 act as security token at a specific endpoint address through a specified transport address.
public:
TChannel CreateChannelWithActAsToken(System::IdentityModel::Tokens::SecurityToken ^ actAsToken, System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public TChannel CreateChannelWithActAsToken (System.IdentityModel.Tokens.SecurityToken actAsToken, System.ServiceModel.EndpointAddress address, Uri via);
member this.CreateChannelWithActAsToken : System.IdentityModel.Tokens.SecurityToken * System.ServiceModel.EndpointAddress * Uri -> 'Channel
Public Function CreateChannelWithActAsToken (actAsToken As SecurityToken, address As EndpointAddress, via As Uri) As TChannel
Parâmetros
- actAsToken
- SecurityToken
O token de segurançaThe 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.