WSTrustChannelFactory.TrustVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.