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.

public:
 SecurityTokenHandlerCollection();
public SecurityTokenHandlerCollection ();
Public Sub New ()

Remarks

The new collection does not contain any handlers.

Applies to

SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>)

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

public:
 SecurityTokenHandlerCollection(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SecurityTokenHandler ^> ^ handlers);
public SecurityTokenHandlerCollection (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SecurityTokenHandler> handlers);
new System.IdentityModel.Tokens.SecurityTokenHandlerCollection : seq<System.IdentityModel.Tokens.SecurityTokenHandler> -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Sub New (handlers As IEnumerable(Of SecurityTokenHandler))

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

SecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)

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

public:
 SecurityTokenHandlerCollection(System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ configuration);
public SecurityTokenHandlerCollection (System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);
new System.IdentityModel.Tokens.SecurityTokenHandlerCollection : System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Sub New (configuration As SecurityTokenHandlerConfiguration)

Parameters

configuration
SecurityTokenHandlerConfiguration

The base configuration to associate with the collection.

Remarks

The new collection does not contain any handlers.

Applies to

SecurityTokenHandlerCollection(IEnumerable<SecurityTokenHandler>, SecurityTokenHandlerConfiguration)

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

public:
 SecurityTokenHandlerCollection(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SecurityTokenHandler ^> ^ handlers, System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ configuration);
public SecurityTokenHandlerCollection (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SecurityTokenHandler> handlers, System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);
new System.IdentityModel.Tokens.SecurityTokenHandlerCollection : seq<System.IdentityModel.Tokens.SecurityTokenHandler> * System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Sub New (handlers As IEnumerable(Of SecurityTokenHandler), configuration As SecurityTokenHandlerConfiguration)

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