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::CreateSerializationContext Method ()

.NET Framework (current version)
 

Creates a WSTrustSerializationContext object used by channels created by the factory.

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

protected:
virtual WSTrustSerializationContext^ CreateSerializationContext()

Return Value

Type: System.IdentityModel.Protocols.WSTrust::WSTrustSerializationContext^

A WSTrustSerializationContext initialized with the properties of the trust client.

If the SecurityTokenResolver property is set to null, the ClientCertificate set on the factory Endpoint's ClientCredentials behavior will be used to create a resolver. If no such certificate is found, an empty resolver is used.

If UseKeyTokenResolver is set to null, an empty resolver will be used.

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