ChannelFactory<TChannel>.CreateChannelWithActAsToken Metodo

Definizione

Consente di creare un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza ActAs.

Overload

CreateChannelWithActAsToken(SecurityToken)

Consente di creare un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza ActAs.

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

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

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

Crea un canale utilizzato per inviare messaggi a un servizio che funge da token di sicurezza presso un determinato indirizzo endpoint tramite l'indirizzo di trasporto specificato.

CreateChannelWithActAsToken(SecurityToken)

Consente di creare un canale utilizzato per inviare messaggi a un servizio con un token di sicurezza ActAs.

C#
public TChannel CreateChannelWithActAsToken (System.IdentityModel.Tokens.SecurityToken actAsToken);

Parametri

actAsToken
SecurityToken

Token di sicurezza.

Restituisce

TChannel

Channel factory creata.

Si applica a

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

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

C#
public TChannel CreateChannelWithActAsToken (System.IdentityModel.Tokens.SecurityToken actAsToken, System.ServiceModel.EndpointAddress address);

Parametri

actAsToken
SecurityToken

Token di sicurezza.

address
EndpointAddress

Indirizzo dell'endpoint che fornisce la posizione del servizio.

Restituisce

TChannel

Channel factory creata.

Si applica a

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

Crea un canale utilizzato per inviare messaggi a un servizio che funge da token di sicurezza presso un determinato indirizzo endpoint tramite l'indirizzo di trasporto specificato.

C#
public TChannel CreateChannelWithActAsToken (System.IdentityModel.Tokens.SecurityToken actAsToken, System.ServiceModel.EndpointAddress address, Uri via);

Parametri

actAsToken
SecurityToken

Token di sicurezza.

address
EndpointAddress

Indirizzo dell'endpoint che fornisce la posizione del servizio.

via
Uri

Indirizzo di trasporto al quale il canale invia i messaggi.

Restituisce

TChannel

Channel factory creata.

Si applica a

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1