SecurityTokenHandlerCollection Constructors

Definition

Initializes a new instance of the SecurityTokenHandlerCollection class.

Overloads

SecurityTokenHandlerCollection()

Initializes a new instance of the SecurityTokenHandlerCollection class.

SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>)

Initializes a new instance of the SecurityTokenHandlerCollection class with the specified token handlers.

SecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)

Initializes a new instance of the SecurityTokenHandlerCollection class with the specified configuration.

SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>, SecurityTokenHandlerConfiguration)

Initializes a new instance of the SecurityTokenHandlerCollection class with the specified token handlers and configuration.

SecurityTokenHandlerCollection()

Initializes a new instance of the SecurityTokenHandlerCollection class.

C#
public SecurityTokenHandlerCollection();

Remarks

The new collection does not contain any handlers.

Applies to

.NET Framework 4.8.1 an aner Versiounen
Produkt Versiounen
.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

SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>)

Initializes a new instance of the SecurityTokenHandlerCollection class with the specified token handlers.

C#
public SecurityTokenHandlerCollection(System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SecurityTokenHandler> handlers);

Parameters

handlers
IEnumerable<SecurityTokenHandler>

The token handlers with which to initialize the new instance.

Remarks

Do not use this constructor to attempt to clone an instance of the SecurityTokenHandlerCollection class, use the Clone method instead.

Applies to

.NET Framework 4.8.1 an aner Versiounen
Produkt Versiounen
.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

SecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)

Initializes a new instance of the SecurityTokenHandlerCollection class with the specified configuration.

C#
public SecurityTokenHandlerCollection(System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);

Parameters

configuration
SecurityTokenHandlerConfiguration

The base configuration to associate with the collection.

Remarks

The new collection does not contain any handlers.

Applies to

.NET Framework 4.8.1 an aner Versiounen
Produkt Versiounen
.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

SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>, SecurityTokenHandlerConfiguration)

Initializes a new instance of the SecurityTokenHandlerCollection class with the specified token handlers and configuration.

C#
public SecurityTokenHandlerCollection(System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SecurityTokenHandler> handlers, System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);

Parameters

handlers
IEnumerable<SecurityTokenHandler>

The token handlers with which to initialize the new instance.

configuration
SecurityTokenHandlerConfiguration

The base configuration to associate with the collection.

Remarks

Do not use this constructor to attempt to clone an instance of the SecurityTokenHandlerCollection class, use the Clone method instead.

Applies to

.NET Framework 4.8.1 an aner Versiounen
Produkt Versiounen
.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