Sdílet prostřednictvím


SamlAdvice Konstruktory

Definice

Inicializuje novou instanci SamlAdvice třídy .

Přetížení

SamlAdvice()

Inicializuje novou instanci SamlAdvice třídy .

SamlAdvice(IEnumerable<SamlAssertion>)

Inicializuje novou instanci SamlAdvice třídy pomocí zadané kolekce kontrolních výrazů SAML.

SamlAdvice(IEnumerable<String>)

Inicializuje novou instanci SamlAdvice třídy .

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

Inicializuje novou instanci SamlAdvice třídy pomocí zadaných kolekcí kontrolních výrazů SAML a odkazů kontrolních výrazů SAML.

SamlAdvice()

Inicializuje novou instanci SamlAdvice třídy .

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

Poznámky

Když je volána tento konstruktor a instance není upravena před serializací do XML voláním WriteXml metody, <saml:Advice> prázdný prvek je generován metodou WriteXml .

Platí pro

SamlAdvice(IEnumerable<SamlAssertion>)

Inicializuje novou instanci SamlAdvice třídy pomocí zadané kolekce kontrolních výrazů SAML.

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))

Parametry

assertions
IEnumerable<SamlAssertion>

Typ IEnumerable<T>SamlAssertion obsahující kontrolní výrazy SAML, který poskytuje další informace o kontrolním výrazu SAML.

Výjimky

assertionsnull obsahuje prvek.

Poznámky

Prvky parametru assertions jsou přidány Assertions do vlastnosti .

Platí pro

SamlAdvice(IEnumerable<String>)

Inicializuje novou instanci SamlAdvice třídy .

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))

Parametry

references
IEnumerable<String>

Typ IEnumerable<T>String obsahující kolekci odkazů na kontrolní výrazy SAML, které poskytují další informace o kontrolním výrazu SAML.

Výjimky

referencesnull obsahuje prvek.

Poznámky

Prvky parametru references jsou přidány AssertionIdReferences do vlastnosti .

Platí pro

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

Inicializuje novou instanci SamlAdvice třídy pomocí zadaných kolekcí kontrolních výrazů SAML a odkazů kontrolních výrazů SAML.

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))

Parametry

references
IEnumerable<String>

Typ IEnumerable<T>String obsahující kolekci odkazů na kontrolní výrazy SAML, které poskytují další informace o kontrolním výrazu SAML.

assertions
IEnumerable<SamlAssertion>

Typ IEnumerable<T>SamlAssertion obsahující kontrolní výrazy SAML, které poskytují další informace pro kontrolní výraz SAML.

Výjimky

referencesnull obsahuje prvek.

-nebo-

assertionsnull obsahuje prvek.

Poznámky

Prvky parametru references jsou přidány AssertionIdReferences do vlastnosti .

Prvky parametru assertions jsou přidány Assertions do vlastnosti .

Platí pro