ChannelFactory<TChannel>.CreateChannelWithActAsToken Metodo

Definizione

Crea un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza.

Overload

Nome Descrizione
CreateChannelWithActAsToken(SecurityToken)

Crea un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza.

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

Crea un canale usato per inviare messaggi a un servizio con un token di sicurezza in un indirizzo endpoint specifico.

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

Crea un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza in un indirizzo endpoint specifico tramite un indirizzo di trasporto specificato.

CreateChannelWithActAsToken(SecurityToken)

Crea un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza.

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

Parametri

actAsToken
SecurityToken

Token di sicurezza.

Valori restituiti

TChannel

Channel factory creata.

Si applica a

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

Crea un canale usato per inviare messaggi a un servizio con un token di sicurezza in un indirizzo endpoint specifico.

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

Parametri

actAsToken
SecurityToken

Token di sicurezza.

address
EndpointAddress

Indirizzo dell'endpoint che fornisce la posizione del servizio.

Valori restituiti

TChannel

Channel factory creata.

Si applica a

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

Crea un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza in un indirizzo endpoint specifico tramite un indirizzo di trasporto specificato.

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

Parametri

actAsToken
SecurityToken

Token di sicurezza.

address
EndpointAddress

Indirizzo dell'endpoint che fornisce la posizione del servizio.

via
Uri

Indirizzo di trasporto a cui il canale invia messaggi.

Valori restituiti

TChannel

Channel factory creata.

Si applica a