Condividi tramite


Classe AuthenticationServiceAttribute

Definisce un servizio del dominio come servizio di autenticazione.

Spazio dei nomi: System.ServiceModel.DomainServices.Server.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Server (in system.servicemodel.domainservices.server.dll)

Utilizzo

'Utilizzo
Dim instance As AuthenticationServiceAttribute

Sintassi

'Dichiarazione
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, AllowMultiple:=False, Inherited:=True)> _
Public NotInheritable Class AuthenticationServiceAttribute
    Inherits DomainIdentifierAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple=false, Inherited=true)] 
public sealed class AuthenticationServiceAttribute : DomainIdentifierAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Interface, AllowMultiple=false, Inherited=true)] 
public ref class AuthenticationServiceAttribute sealed : public DomainIdentifierAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple=false, Inherited=true) */ 
public final class AuthenticationServiceAttribute extends DomainIdentifierAttribute
AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple=false, Inherited=true) 
public final class AuthenticationServiceAttribute extends DomainIdentifierAttribute

Osservazioni

Questo attributo viene utilizzato per associare il processore di codice di autenticazione a un'implementazione dell'interfaccia IAuthentication.

Gerarchia di ereditarietà

System.Object
   System.Attribute
     System.ServiceModel.DomainServices.DomainIdentifierAttribute
      System.ServiceModel.DomainServices.Server.ApplicationServices.AuthenticationServiceAttribute

Sicurezza dei thread

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è invece garantita la sicurezza dei membri dell'istanza.

Piattaforme

Piattaforme di sviluppo

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 e Windows 2000

Piattaforme di destinazione

Vedere anche

Riferimento

Membri AuthenticationServiceAttribute
Spazio dei nomi System.ServiceModel.DomainServices.Server.ApplicationServices