共用方式為


AuthenticationServiceAttribute 類別

將網域服務指定為驗證服務。

命名空間: System.ServiceModel.DomainServices.Server.ApplicationServices
組件: System.ServiceModel.DomainServices.Server (於 system.servicemodel.domainservices.server.dll)

使用方式

'用途
Dim instance As AuthenticationServiceAttribute

語法

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

備註

這個屬性用來將驗證程式碼處理器與 IAuthentication 介面實作產生關聯。

繼承階層

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

目標平台

另請參閱

參考

AuthenticationServiceAttribute 成員
System.ServiceModel.DomainServices.Server.ApplicationServices 命名空間