Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WSTrustChannelFactory::TrustVersion Property

.NET Framework (current version)
 

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

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property TrustVersion^ TrustVersion {
	TrustVersion^ get();
	void set(TrustVersion^ value);
}

Property Value

Type: System.ServiceModel.Security::TrustVersion^

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

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.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft