ChannelFactory<TChannel>.CreateChannelWithActAsToken Método

Definição

Cria um canal que é usado para enviar mensagens a um serviço com um ato como token de segurança.

Sobrecargas

Name Description
CreateChannelWithActAsToken(SecurityToken)

Cria um canal que é usado para enviar mensagens a um serviço com um ato como token de segurança.

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

Cria um canal que é usado para enviar mensagens a um serviço com um atuar como token de segurança num endereço endpoint específico.

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

Cria um canal que é usado para enviar mensagens a um serviço com um atuar como token de segurança num endereço de endpoint específico através de um endereço de transporte especificado.

CreateChannelWithActAsToken(SecurityToken)

Cria um canal que é usado para enviar mensagens a um serviço com um ato como token de segurança.

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.

Devoluções

TChannel

A fábrica de canais criada.

Aplica-se a

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

Cria um canal que é usado para enviar mensagens a um serviço com um atuar como token de segurança num endereço endpoint específico.

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ça.

address
EndpointAddress

O endereço do endpoint que fornece a localização do serviço.

Devoluções

TChannel

A fábrica de canais criada.

Aplica-se a

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

Cria um canal que é usado para enviar mensagens a um serviço com um atuar como token de segurança num endereço de endpoint específico através de um endereço de transporte especificado.

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ça.

address
EndpointAddress

O endereço do endpoint que fornece a localização do serviço.

via
Uri

O endereço de transporte para o qual o canal envia mensagens.

Devoluções

TChannel

A fábrica de canais criada.

Aplica-se a