SessionSecurityTokenHandler.SetTransforms Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))
- transforms
- 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.
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.
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 |
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: