SessionSecurityTokenHandler.SetTransforms Method
Definition
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))
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om