SamlAssertion.Advice Property
Gets or sets additional information related to the SamlSecurityToken that is supplied by the SAML authority that can aide in the processing of the SAML assertion.

Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel (in system.identitymodel.dll)

Syntax

Visual Basic (Declaration)
Public Property Advice As SamlAdvice
Visual Basic (Usage)
Dim instance As SamlAssertion
Dim value As SamlAdvice

value = instance.Advice

instance.Advice = value
C#
public SamlAdvice Advice { get; set; }
C++
public:
property SamlAdvice^ Advice {
    SamlAdvice^ get ();
    void set (SamlAdvice^ value);
}
J#
/** @property */
public SamlAdvice get_Advice ()

/** @property */
public void set_Advice (SamlAdvice value)
JScript
public function get Advice () : SamlAdvice

public function set Advice (value : SamlAdvice)
XAML
Not applicable.

Property Value

A SamlAdvice that specifies additional information that is supplied by the SAML authority that can aide in the processing of the SAML assertion.
Exceptions

Exception typeCondition

InvalidOperationException

The Advice property is set and the IsReadOnly property is true.

Remarks

The Advice property corresponds to the <saml:Advice> element defined in the Assertions and Protocol for the OASIS SAML specification.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0
See Also

Tags :


Page view tracker