Прочетете на английски Редактиране

Споделяне чрез


SecurityTokenHandler.WriteKeyIdentifierClause Method

Definition

When overridden in a derived class, serializes the specified key identifier clause to XML. The key identifier clause must be of the type supported by the derived class.

C#
public virtual void WriteKeyIdentifierClause(System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);

Parameters

writer
XmlWriter

The XML writer.

securityKeyIdentifierClause
SecurityKeyIdentifierClause

The key identifier clause to serialize.

Remarks

By default this method throws a NotImplementedException exception.

Override this method to provide the logic to serialize a key identifier clause to XML. If you override this method, you should also override the CanWriteKeyIdentifierClause method.

Applies to

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1