共用方式為


DomainIdentifierAttribute 類別

將某個型別分類為位於特殊網域。

命名空間: System.ServiceModel.DomainServices
組件: System.ServiceModel.DomainServices.Client (於 system.servicemodel.domainservices.client.dll)

使用方式

'用途
Dim instance As DomainIdentifierAttribute

語法

'宣告
<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

備註

這個屬性將在中繼資料管線中移動,因此對應產生的型別也會有這個屬性。這個屬性也允許指定將在產生用戶端型別期間使用的 CodeProcessor。

繼承階層

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

執行緒安全性

任何這個類型的公用靜態 (在 Visual Basic 中為 共用) 成員都具備執行緒安全。 不保證任何執行個體成員安全執行緒。

平台

開發平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008 和 Windows 2000

目標平台

另請參閱

參考

DomainIdentifierAttribute 成員
System.ServiceModel.DomainServices 命名空間