SessionSecurityTokenHandler.SetTransforms Method

Definition

Sets the transforms that will be applied to cookies.

protected void SetTransforms (System.Collections.Generic.IEnumerable<System.IdentityModel.CookieTransform> transforms);

Parameters

transforms
IEnumerable<CookieTransform>

The transforms to use.

Remarks

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.

Hoiatus

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.

Applies to

Toode Versioonid
.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