Redigera

Dela via


ChannelFactory<TChannel>.CreateChannelWithIssuedToken Method

Definition

Creates a channel that is used to send messages to a service with an issued security token.

Overloads

CreateChannelWithIssuedToken(SecurityToken)

Creates a channel that is used to send messages to a service with an issued security token.

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress)

Creates a channel that is used to send messages to a service with an issued security token at a specific endpoint address.

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress, Uri)

Creates a channel that is used to send messages to a service with an issued security token at a specific endpoint address through a specified transport address.

CreateChannelWithIssuedToken(SecurityToken)

Creates a channel that is used to send messages to a service with an issued security token.

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

Parameters

issuedToken
SecurityToken

The issued security token.

Returns

TChannel

The created channel factory.

Applies to

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress)

Creates a channel that is used to send messages to a service with an issued security token at a specific endpoint address.

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

Parameters

issuedToken
SecurityToken

The issued security token.

address
EndpointAddress

The endpoint address that provides the location of the service.

Returns

TChannel

The created channel factory.

Applies to

CreateChannelWithIssuedToken(SecurityToken, EndpointAddress, Uri)

Creates a channel that is used to send messages to a service with an issued security token at a specific endpoint address through a specified transport address.

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

Parameters

issuedToken
SecurityToken

The issued security token.

address
EndpointAddress

The endpoint address that provides the location of the service.

via
Uri

The transport address to which the channel sends messages.

Returns

TChannel

The created channel factory.

Applies to