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

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


WSSecurityTokenSerializer.ReadTokenCore Method

Definition

Reads the token core using the specified XmlReader.

protected override System.IdentityModel.Tokens.SecurityToken ReadTokenCore (System.Xml.XmlReader reader, System.IdentityModel.Selectors.SecurityTokenResolver tokenResolver);

Parameters

reader
XmlReader

The specified XmlReader.

tokenResolver
SecurityTokenResolver

The security token resolver.

Returns

The security token that was read.

Exceptions

An error occurred when deserializing the token or the token could not be read.

Applies to

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 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