SamlAdvice Construtores

Definição

Inicializa uma nova instância da classe SamlAdvice.Initializes a new instance of the SamlAdvice class.

Sobrecargas

SamlAdvice()

Inicializa uma nova instância da classe SamlAdvice.Initializes a new instance of the SamlAdvice class.

SamlAdvice(IEnumerable<SamlAssertion>)

Inicializa uma nova instância da classe SamlAdvice usando a coleção de declarações SAML especificada.Initializes a new instance of the SamlAdvice class using the specified collection of SAML assertions.

SamlAdvice(IEnumerable<String>)

Inicializa uma nova instância da classe SamlAdvice.Initializes a new instance of the SamlAdvice class.

SamlAdvice(IEnumerable<String>, IEnumerable<SamlAssertion>)

Inicializa uma nova instância da classe SamlAdvice usando as coleções de declarações SAML e de referências a declarações SAML especificadas.Initializes a new instance of the SamlAdvice class using the specified collections of SAML assertions and SAML assertion references.

SamlAdvice()

Inicializa uma nova instância da classe SamlAdvice.Initializes a new instance of the SamlAdvice class.

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

Comentários

Quando esse construtor é chamado e a instância não é modificada antes de serializá-lo em XML chamando o WriteXml método, um <saml:Advice> elemento vazio é gerado pelo WriteXml método.When this constructor is called and the instance is not modified prior to serializing it into XML by calling the WriteXml method, an empty <saml:Advice> element is generated by the WriteXml method.

Aplica-se a

SamlAdvice(IEnumerable<SamlAssertion>)

Inicializa uma nova instância da classe SamlAdvice usando a coleção de declarações SAML especificada.Initializes a new instance of the SamlAdvice class using the specified collection of SAML assertions.

public:
 SamlAdvice(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAssertion ^> ^ assertions);
public SamlAdvice (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAssertion> assertions);
new System.IdentityModel.Tokens.SamlAdvice : seq<System.IdentityModel.Tokens.SamlAssertion> -> System.IdentityModel.Tokens.SamlAdvice
Public Sub New (assertions As IEnumerable(Of SamlAssertion))

Parâmetros

assertions
IEnumerable<SamlAssertion>

Um IEnumerable<T> do tipo SamlAssertion que contém declarações SAML que fornecem informações adicionais sobre uma declaração SAML.An IEnumerable<T> of type SamlAssertion that contains SAML assertions that provides additional information for a SAML assertion.

Exceções

assertions contém um elemento null.assertions contains a null element.

Comentários

Os elementos do assertions parâmetro são adicionados à Assertions propriedade.The elements of the assertions parameter are added to the Assertions property.

Aplica-se a

SamlAdvice(IEnumerable<String>)

Inicializa uma nova instância da classe SamlAdvice.Initializes a new instance of the SamlAdvice class.

public:
 SamlAdvice(System::Collections::Generic::IEnumerable<System::String ^> ^ references);
public SamlAdvice (System.Collections.Generic.IEnumerable<string> references);
new System.IdentityModel.Tokens.SamlAdvice : seq<string> -> System.IdentityModel.Tokens.SamlAdvice
Public Sub New (references As IEnumerable(Of String))

Parâmetros

references
IEnumerable<String>

Um IEnumerable<T> do tipo String que contém uma coleção de referências a declarações SAML que fornecem informações adicionais sobre uma declaração SAML.An IEnumerable<T> of type String that contains a collection of references to SAML assertions that provide additional information on a SAML assertion.

Exceções

references contém um elemento null.references contains a null element.

Comentários

Os elementos do references parâmetro são adicionados à AssertionIdReferences propriedade.The elements of the references parameter are added to the AssertionIdReferences property.

Aplica-se a

SamlAdvice(IEnumerable<String>, IEnumerable<SamlAssertion>)

Inicializa uma nova instância da classe SamlAdvice usando as coleções de declarações SAML e de referências a declarações SAML especificadas.Initializes a new instance of the SamlAdvice class using the specified collections of SAML assertions and SAML assertion references.

public:
 SamlAdvice(System::Collections::Generic::IEnumerable<System::String ^> ^ references, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAssertion ^> ^ assertions);
public SamlAdvice (System.Collections.Generic.IEnumerable<string> references, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAssertion> assertions);
new System.IdentityModel.Tokens.SamlAdvice : seq<string> * seq<System.IdentityModel.Tokens.SamlAssertion> -> System.IdentityModel.Tokens.SamlAdvice
Public Sub New (references As IEnumerable(Of String), assertions As IEnumerable(Of SamlAssertion))

Parâmetros

references
IEnumerable<String>

Um IEnumerable<T> do tipo String que contém uma coleção de referências a declarações SAML que fornecem informações adicionais sobre uma declaração SAML.An IEnumerable<T> of type String that contains a collection of references to SAML assertions that provide additional information on a SAML assertion.

assertions
IEnumerable<SamlAssertion>

Um IEnumerable<T> do tipo SamlAssertion que contém declarações SAML que fornecem informações adicionais sobre uma declaração SAML.An IEnumerable<T> of type SamlAssertion that contains SAML assertions that provide additional information for a SAML assertion.

Exceções

references contém um elemento null.references contains a null element.

- ou --or- assertions contém um elemento null.assertions contains a null element.

Comentários

Os elementos do references parâmetro são adicionados à AssertionIdReferences propriedade.The elements of the references parameter are added to the AssertionIdReferences property.

Os elementos do assertions parâmetro são adicionados à Assertions propriedade.The elements of the assertions parameter are added to the Assertions property.

Aplica-se a