WSTrustChannelFactory.CreateSerializationContext Method
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.
Creates a WSTrustSerializationContext object used by channels created by the factory.
protected:
virtual System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ CreateSerializationContext();
protected virtual System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext CreateSerializationContext ();
abstract member CreateSerializationContext : unit -> System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext
override this.CreateSerializationContext : unit -> System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext
Protected Overridable Function CreateSerializationContext () As WSTrustSerializationContext
Returns
A WSTrustSerializationContext initialized with the properties of the trust client.
Remarks
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.