ChannelFactory<TChannel>.CreateChannelWithIssuedToken 方法

定義

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

多載

CreateChannelWithIssuedToken(SecurityToken)

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

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress)

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

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress, Uri)

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

CreateChannelWithIssuedToken(SecurityToken)

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

public:
 TChannel CreateChannelWithIssuedToken(System::IdentityModel::Tokens::SecurityToken ^ issuedToken);
public TChannel CreateChannelWithIssuedToken (System.IdentityModel.Tokens.SecurityToken issuedToken);
member this.CreateChannelWithIssuedToken : System.IdentityModel.Tokens.SecurityToken -> 'Channel
Public Function CreateChannelWithIssuedToken (issuedToken As SecurityToken) As TChannel

參數

issuedToken
SecurityToken

發出的安全性權杖。

傳回

TChannel

建立的通道處理站。

適用於

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress)

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

public:
 TChannel CreateChannelWithIssuedToken(System::IdentityModel::Tokens::SecurityToken ^ issuedToken, System::ServiceModel::EndpointAddress ^ address);
public TChannel CreateChannelWithIssuedToken (System.IdentityModel.Tokens.SecurityToken issuedToken, System.ServiceModel.EndpointAddress address);
member this.CreateChannelWithIssuedToken : System.IdentityModel.Tokens.SecurityToken * System.ServiceModel.EndpointAddress -> 'Channel
Public Function CreateChannelWithIssuedToken (issuedToken As SecurityToken, address As EndpointAddress) As TChannel

參數

issuedToken
SecurityToken

發出的安全性權杖。

address
EndpointAddress

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

傳回

TChannel

建立的通道處理站。

適用於

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress, Uri)

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

public:
 TChannel CreateChannelWithIssuedToken(System::IdentityModel::Tokens::SecurityToken ^ issuedToken, System::ServiceModel::EndpointAddress ^ address, Uri ^ via);
public TChannel CreateChannelWithIssuedToken (System.IdentityModel.Tokens.SecurityToken issuedToken, System.ServiceModel.EndpointAddress address, Uri via);
member this.CreateChannelWithIssuedToken : System.IdentityModel.Tokens.SecurityToken * System.ServiceModel.EndpointAddress * Uri -> 'Channel
Public Function CreateChannelWithIssuedToken (issuedToken As SecurityToken, address As EndpointAddress, via As Uri) As TChannel

參數

issuedToken
SecurityToken

發出的安全性權杖。

address
EndpointAddress

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

via
Uri

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

傳回

TChannel

建立的通道處理站。

適用於