ChannelFactory<TChannel>.CreateChannelWithActAsToken 方法

定義

建立用來將訊息傳送至具有扮演安全性權杖之服務的通道。

多載

CreateChannelWithActAsToken(SecurityToken)

建立用來將訊息傳送至具有扮演安全性權杖之服務的通道。

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

用來將訊息傳送至位於特定端點位址做為安全性權杖之服務的建立通道。

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

建立一個通道,這個通道可用來透過指定傳輸位址將訊息傳送至指定端點位址上做為安全性權杖的服務。

CreateChannelWithActAsToken(SecurityToken)

建立用來將訊息傳送至具有扮演安全性權杖之服務的通道。

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

參數

actAsToken
SecurityToken

安全性權杖。

傳回

TChannel

建立的通道處理站。

適用於

CreateChannelWithActAsToken(SecurityToken, EndpointAddress)

用來將訊息傳送至位於特定端點位址做為安全性權杖之服務的建立通道。

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

參數

actAsToken
SecurityToken

安全性權杖。

address
EndpointAddress

提供服務位置的端點位址。

傳回

TChannel

建立的通道處理站。

適用於

CreateChannelWithActAsToken(SecurityToken, EndpointAddress, Uri)

建立一個通道,這個通道可用來透過指定傳輸位址將訊息傳送至指定端點位址上做為安全性權杖的服務。

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

參數

actAsToken
SecurityToken

安全性權杖。

address
EndpointAddress

提供服務位置的端點位址。

via
Uri

通道傳送訊息的目標傳輸位址。

傳回

TChannel

建立的通道處理站。

適用於