ServiceConfiguration 類別

定義

表示服務的可設定屬性。

public ref class ServiceConfiguration
public class ServiceConfiguration
type ServiceConfiguration = class
Public Class ServiceConfiguration
繼承
ServiceConfiguration

屬性

Authentication

取得服務驗證行為。

Authorization

取得服務的授權行為。

BaseAddresses

取得服務所使用的基底位址。

CloseTimeout

取得或設定允許服務關閉的時間間隔。

Credentials

取得服務認證。

Description

取得服務描述。

IdentityConfiguration

取得或設定服務的識別組態。

OpenTimeout

取得或設定允許服務開啟的時間間隔。

UseIdentityConfiguration

取得或設定值,指出服務是否使用識別組態。

方法

AddServiceEndpoint(ServiceEndpoint)

將指定的服務端點加入至組態服務。

AddServiceEndpoint(Type, Binding, String)

使用指定的合約、繫結和端點位址,將服務端點加入至組態服務。

AddServiceEndpoint(Type, Binding, String, Uri)

使用指定的合約、繫結、端點位址,以及包含其接聽所在位址的 URI,將服務端點加入至組態服務。

AddServiceEndpoint(Type, Binding, Uri)

使用指定的合約、繫結以及含有端點位址的 URI,將服務端點加入至組態服務。

AddServiceEndpoint(Type, Binding, Uri, Uri)

使用指定的合約、繫結以及含有端點與接聽位址的 URI,將服務端點加入至組態服務。

EnableProtocol(Binding)

啟動服務端點的繫結通訊協定。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
LoadFromConfiguration()

從目前的服務組態載入組態。

LoadFromConfiguration(Configuration)

從目前的服務組態載入組態。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
SetEndpointAddress(ServiceEndpoint, String)

將指定之端點的端點位址設定為指定的位址。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於