共用方式為


WSTrustChannelFactory.TrustVersion 屬性

定義

取得或設定 WS-Trust 版本,這個處理站為其建立用於序列化訊息的通道。

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

屬性值

TrustVersion

WS-Trust 版本,這個處理站為其建立用於序列化訊息的通道。

備註

如果未設定這個屬性,此處理站所建立的通道會使用 TrustVersion 通道處理站端點物件上找到的任何集合(如果有的話) SecurityBindingElement

建立通道之後,您就無法變更這個屬性的值。

適用於