共用方式為


WebContextBase.Authentication 屬性

取得或設定應用程式的驗證內容。

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

使用方式

'用途
Dim instance As WebContextBase
Dim value As AuthenticationService

value = instance.Authentication

instance.Authentication = value

語法

'宣告
Public Property Authentication As AuthenticationService
public AuthenticationService Authentication { get; set; }
public:
property AuthenticationService^ Authentication {
    AuthenticationService^ get ();
    void set (AuthenticationService^ value);
}
/** @property */
public AuthenticationService get_Authentication ()

/** @property */
public void set_Authentication (AuthenticationService value)
public function get Authentication () : AuthenticationService

public function set Authentication (value : AuthenticationService)

屬性值

應用程式的驗證內容。

執行緒安全性

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

平台

開發平台

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

目標平台

另請參閱

參考

WebContextBase 類別
WebContextBase 成員
System.ServiceModel.DomainServices.Client.ApplicationServices 命名空間