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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for