Edytuj

Udostępnij za pośrednictwem


IssuedTokenClientCredential.LocalIssuerBinding Property

Definition

Gets or sets the binding of the local issuer.

public:
 property System::ServiceModel::Channels::Binding ^ LocalIssuerBinding { System::ServiceModel::Channels::Binding ^ get(); void set(System::ServiceModel::Channels::Binding ^ value); };
public System.ServiceModel.Channels.Binding LocalIssuerBinding { get; set; }
member this.LocalIssuerBinding : System.ServiceModel.Channels.Binding with get, set
Public Property LocalIssuerBinding As Binding

Property Value

The Binding of the local issuer.

Exceptions

An attempt was made to set a read-only credential.

Examples

This code shows how to set this property.

itcc.LocalIssuerBinding = new WSHttpBinding("LocalIssuerBinding");
itcc.LocalIssuerBinding = New WSHttpBinding("LocalIssuerBinding")

Remarks

When obtaining an issued token from a Security Token Service, the client application must be configured with the binding to use to communicate with the Security Token Service. In case the target service does not specify information about the Security Token Service in its security policy, the client's WCF channel uses the LocalIssuerBinding as the binding to use to communicate with the Security Token Service.

Applies to