SetTransforms Method

SessionSecurityTokenHandler.SetTransforms Method (IEnumerable<CookieTransform>)

.NET Framework (current version)
 

Sets the transforms that will be applied to cookies.

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

protected void SetTransforms(
	IEnumerable<CookieTransform> transforms
)

Parameters

transforms
Type: System.Collections.Generic.IEnumerable<CookieTransform>

The transforms to use.

Sets the list of transforms returned by the Transforms property. Transforms will be applied in the order in which they appear in the list when encoding a cookie and in the reverse order when decoding a cookie.

System_CAPS_warningWarning

If the transforms parameter is null, an exception will be thrown from the ApplyTransforms method when it is called to encode or decode the cookie.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft