Export (0) Print
Expand All

X509SecurityTokenHandler.CanWriteKeyIdentifierClause Method

.NET Framework 4.5

Returns a value that indicates whether the specified key identifier clause can be serialized by this handler.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override bool CanWriteKeyIdentifierClause(
	SecurityKeyIdentifierClause securityKeyIdentifierClause
)

Parameters

securityKeyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

The key identifier clause to be serialized.

Return Value

Type: System.Boolean
true if the securityKeyIdentifierClause is supported and if the WriteXmlDSigDefinedClauseTypes property is set to true; otherwise, false.

ExceptionCondition
ArgumentNullException

securityKeyIdentifierClause is null.

.NET Framework

Supported in: 4.6
Show:
© 2014 Microsoft