Adding <Advice> Elements Adding <Advice> Elements To add <Advice> elements to your instance of %SAML.AssertionOpens in a new tab: Create instances of one or more of the following classes: %SAML.AssertionIDRefOpens in a new tab %SAML.AssertionURIRefOpens in a new tab %SAML.EncryptedAssertionOpens in a new tab Specify properties of these instances as needed. Create a list that contains these advice instances. Set the Advice property of your assertion object equal to this list.