編集

次の方法で共有


WSTrustChannelFactory.TrustVersion Property

Definition

Gets or sets the version of WS-Trust that channels created by this factory use for serializing messages.

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

Property Value

The version of WS-Trust that channels created by this factory use for serializing messages.

Remarks

If this property is not set, channels created by this factory will use the TrustVersion set on any SecurityBindingElement found on the channel factory's Endpoint object if one exists.

You cannot change the value of this property after a channel has been created.

Applies to