편집

다음을 통해 공유


WSTrustChannelFactory.CreateSerializationContext Method

Definition

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