Collapse the table of content
Expand the table of content
Expand Minimize

Saml2SecurityTokenHandler.CreateAdvice Method (SecurityTokenDescriptor)

.NET Framework 4.6 and 4.5

Creates a Saml2Advice object for the assertion.

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

protected virtual Saml2Advice CreateAdvice(
	SecurityTokenDescriptor tokenDescriptor


Type: System.IdentityModel.Tokens.SecurityTokenDescriptor

The token descriptor.

Return Value

Type: System.IdentityModel.Tokens.Saml2Advice

A Saml2Advice object. The default is null.

By default, this method returns null.

.NET Framework
Available since 4.5
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft