SecurityTokenHandlerCollection::AddOrReplace Method (SecurityTokenHandler^)
.NET Framework (current version)
Adds the specified token handler to this collection. If a handler with the same token type identifier as the specified handler already exists in the collection, it is replaced with the specified handler.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Parameters
- handler
-
Type:
System.IdentityModel.Tokens::SecurityTokenHandler^
The token handler to add to the collection.
.NET Framework
Available since 4.5
Available since 4.5
Show: