Partager via


Propriété AuthenticationInformation.AuthorizationContexts

Gets the T:Microsoft.IdentityModel.Claims.AuthorizationContext used by the authenticating authority when issuing tokens.

Espace de noms: Microsoft.IdentityModel.Claims
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim instance As AuthenticationInformation
Dim value As Collection(Of AuthenticationContext)

value = instance.AuthorizationContexts

Syntaxe

'Déclaration
Public ReadOnly Property AuthorizationContexts As Collection(Of AuthenticationContext)
public Collection<AuthenticationContext> AuthorizationContexts { get; }
public:
property Collection<AuthenticationContext^>^ AuthorizationContexts {
    Collection<AuthenticationContext^>^ get ();
}
/** @property */
public Collection<AuthenticationContext> get_AuthorizationContexts ()
public function get AuthorizationContexts () : Collection<AuthenticationContext>

Exceptions

Type d'exception Condition

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Classe AuthenticationInformation
Membres AuthenticationInformation
Espace de noms Microsoft.IdentityModel.Claims