Condividi tramite


Classe DomainIdentifierAttribute

Classifica un tipo come appartenente a un dominio specifico.

Spazio dei nomi: System.ServiceModel.DomainServices
Assembly: System.ServiceModel.DomainServices.Client (in system.servicemodel.domainservices.client.dll)

Utilizzo

'Utilizzo
Dim instance As DomainIdentifierAttribute

Sintassi

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

Osservazioni

Questo attributo si sposta attraverso la pipeline dei metadati, pertanto anche i tipi generati corrispondenti disporranno dell'attributo. Questo attributo consente inoltre la specifica di un oggetto CodeProcessor, che verrà utilizzato durante la generazione dei tipi di client.

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 DomainIdentifierAttribute
Spazio dei nomi System.ServiceModel.DomainServices