Saml2Evidence Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Saml2Evidence class.
Overloads
Saml2Evidence() |
Initializes a new instance of the Saml2Evidence class. |
Saml2Evidence(Saml2Assertion) |
Initializes a new instance of the Saml2Evidence class with the specified assertion. |
Saml2Evidence(Saml2Id) |
Initializes a new instance of the Saml2Evidence class with an ID that references an assertion. |
Saml2Evidence(Uri) |
Initializes a new instance of the Saml2Evidence class with a URI that references an assertion. |
Saml2Evidence()
Initializes a new instance of the Saml2Evidence class.
public:
Saml2Evidence();
public Saml2Evidence ();
Public Sub New ()
Applies to
Saml2Evidence(Saml2Assertion)
Initializes a new instance of the Saml2Evidence class with the specified assertion.
public:
Saml2Evidence(System::IdentityModel::Tokens::Saml2Assertion ^ assertion);
public Saml2Evidence (System.IdentityModel.Tokens.Saml2Assertion assertion);
new System.IdentityModel.Tokens.Saml2Evidence : System.IdentityModel.Tokens.Saml2Assertion -> System.IdentityModel.Tokens.Saml2Evidence
Public Sub New (assertion As Saml2Assertion)
Parameters
- assertion
- Saml2Assertion
A Saml2Assertion that contains the evidence.
Exceptions
assertion
is null
.
Remarks
The specified assertion is added to the collection accessed through the Assertions property.
Applies to
Saml2Evidence(Saml2Id)
Initializes a new instance of the Saml2Evidence class with an ID that references an assertion.
public:
Saml2Evidence(System::IdentityModel::Tokens::Saml2Id ^ idReference);
public Saml2Evidence (System.IdentityModel.Tokens.Saml2Id idReference);
new System.IdentityModel.Tokens.Saml2Evidence : System.IdentityModel.Tokens.Saml2Id -> System.IdentityModel.Tokens.Saml2Evidence
Public Sub New (idReference As Saml2Id)
Parameters
Exceptions
idReference
is null
.
Remarks
The specified ID is added to the collection accessed through the AssertionIdReferences property.
Applies to
Saml2Evidence(Uri)
Initializes a new instance of the Saml2Evidence class with a URI that references an assertion.
public:
Saml2Evidence(Uri ^ uriReference);
public Saml2Evidence (Uri uriReference);
new System.IdentityModel.Tokens.Saml2Evidence : Uri -> System.IdentityModel.Tokens.Saml2Evidence
Public Sub New (uriReference As Uri)
Parameters
Exceptions
uriReference
is null
.
Remarks
The specified URI is added to the collection accessed through the AssertionUriReferences property.