Redigera

Dela via


SessionSecurityTokenHandler.SetTransforms Method

Definition

Sets the transforms that will be applied to cookies.

protected:
 void SetTransforms(System::Collections::Generic::IEnumerable<System::IdentityModel::CookieTransform ^> ^ transforms);
protected void SetTransforms (System.Collections.Generic.IEnumerable<System.IdentityModel.CookieTransform> transforms);
member this.SetTransforms : seq<System.IdentityModel.CookieTransform> -> unit
Protected Sub SetTransforms (transforms As IEnumerable(Of CookieTransform))

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.

Warning

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