HttpsTransportBindingElement 類別

定義

表示用來指定傳輸訊息之 HTTPS 傳輸的繫結項目。

public ref class HttpsTransportBindingElement : System::ServiceModel::Channels::HttpTransportBindingElement
public ref class HttpsTransportBindingElement : System::ServiceModel::Channels::HttpTransportBindingElement, System::ServiceModel::Channels::ITransportTokenAssertionProvider
public class HttpsTransportBindingElement : System.ServiceModel.Channels.HttpTransportBindingElement
public class HttpsTransportBindingElement : System.ServiceModel.Channels.HttpTransportBindingElement, System.ServiceModel.Channels.ITransportTokenAssertionProvider
type HttpsTransportBindingElement = class
    inherit HttpTransportBindingElement
type HttpsTransportBindingElement = class
    inherit HttpTransportBindingElement
    interface ITransportTokenAssertionProvider
Public Class HttpsTransportBindingElement
Inherits HttpTransportBindingElement
Public Class HttpsTransportBindingElement
Inherits HttpTransportBindingElement
Implements ITransportTokenAssertionProvider
繼承
實作

備註

HttpsTransportBindingElement 類別是一個起點,用來建立實作 HTTPS 傳輸通訊協定的自訂繫結。 HTTPS 是用於安全互通性目的的主要傳輸。 Windows Communication Foundation (WCF) 支援 HTTPS,以確保與其他 Web 服務堆疊的互通性。

WCF 服務模型會使用此類別來建立實作 和 IChannelListener 介面的 IChannelFactory Factory 物件。 然後,這些處理站物件會建立使用 HTTPS 通訊協定傳送 SOAP 訊息的通道和接聽程式。

您可以藉由設定這個類別的屬性來控制其所建立之處理站的組態,例如:RequireClientCertificate

您也可以設定基底類別 HttpTransportBindingElement 的屬性,例如:AuthenticationSchemeHostNameComparisonModeMaxBufferSize

您也可以設定基底類別 TransportBindingElement 的屬性,例如:ManualAddressingMaxBufferPoolSize。 如需完整的屬性清單,請參閱 TransportBindingElement

建構函式

HttpsTransportBindingElement()

初始化 HttpsTransportBindingElement 類別的新執行個體。

HttpsTransportBindingElement(HttpsTransportBindingElement)

初始化 HttpsTransportBindingElement 類別的新執行個體。

屬性

AllowCookies

取得或設定值,這個值會指出用戶端是否接受 Cookie 並依未來要求傳播 Cookie。

(繼承來源 HttpTransportBindingElement)
AuthenticationScheme

取得或設定驗證配置,用於驗證由 HTTP 接聽程式處理的用戶端要求。

(繼承來源 HttpTransportBindingElement)
BypassProxyOnLocal

取得或設定值,指出是否忽略本機位址的 Proxy。

(繼承來源 HttpTransportBindingElement)
DecompressionEnabled

取得或設定是否已啟用傳回壓縮訊息資料至其原始大小與格式的程序。

(繼承來源 HttpTransportBindingElement)
ExtendedProtectionPolicy

取得或設定值,這個值是伺服器用來驗證連入用戶端連線的延伸安全性原則。

(繼承來源 HttpTransportBindingElement)
HostNameComparisonMode

取得或設定值,這個值會指出在比對 URI 時主機名稱是否會用來取用服務。

(繼承來源 HttpTransportBindingElement)
KeepAliveEnabled

取得或設定值,這個值表示是否要與服務端點建立持續連線。

(繼承來源 HttpTransportBindingElement)
ManualAddressing

取得或設定值,這個值會指出是否需要訊息的手動定址。

(繼承來源 TransportBindingElement)
MaxBufferPoolSize

取得或設定傳輸所使用之任何緩衝區集區的大小上限 (以位元組為單位)。

(繼承來源 TransportBindingElement)
MaxBufferSize

取得或設定要使用之緩衝區的大小上限。 對於經過緩衝處理的訊息,這個值與 MaxReceivedMessageSize 相同。 對於已進行資料流處理的訊息,這個值為 SOAP 標頭的最大大小 (必須在緩衝模式中讀取)。

(繼承來源 HttpTransportBindingElement)
MaxPendingAccepts

取得或設定服務能夠同時接受的最大連線數。

(繼承來源 HttpTransportBindingElement)
MaxReceivedMessageSize

取得或設定可接收之可允許的訊息大小上限 (以位元組為單位)。

(繼承來源 TransportBindingElement)
MessageHandlerFactory

取得或設定 Http 傳輸訊息處理常式 factory。

(繼承來源 HttpTransportBindingElement)
Proxy

表示用來指定傳輸訊息之 HTTPS 傳輸的繫結項目。

(繼承來源 HttpTransportBindingElement)
ProxyAddress

取得或設定 URI,包含用於 HTTP 要求的 Proxy 位址。

(繼承來源 HttpTransportBindingElement)
ProxyAuthenticationScheme

取得或設定驗證配置,用於驗證由 HTTP Proxy 處理的用戶端要求。

(繼承來源 HttpTransportBindingElement)
Realm

取得或設定驗證領域。

(繼承來源 HttpTransportBindingElement)
RequestInitializationTimeout

取得或設定要求的初始設定逾時。

(繼承來源 HttpTransportBindingElement)
RequireClientCertificate

取得或設定值,這個值會指出是否需要 SSL 用戶端憑證。

Scheme

傳回用於傳輸的 URI 配置。

TransferMode

取得或設定傳輸模式。

(繼承來源 HttpTransportBindingElement)
UnsafeConnectionNtlmAuthentication

取得或設定值,指出伺服器上是否啟用不安全的連線共用。 如果已啟用,NTLM 驗證會在各 TCP 連線上執行一次。

(繼承來源 HttpTransportBindingElement)
UseDefaultWebProxy

取得或設定值,指出是否使用全機器 Proxy 設定而非使用者特定設定。

(繼承來源 HttpTransportBindingElement)
WebSocketSettings

取得或設定繫結項目的 Web 通訊端組態。

(繼承來源 HttpTransportBindingElement)

方法

BuildChannelFactory<TChannel>(BindingContext)

建立指定之型別的通道處理站,可用來建立通道。

BuildChannelListener<TChannel>(BindingContext)

建立指定之型別的通道接聽程式,可用來建立通道。

BuildChannelListener<TChannel>(BindingContext)

建立指定型別的通道接聽程式。

(繼承來源 HttpTransportBindingElement)
CanBuildChannelFactory<TChannel>(BindingContext)

判斷是否可以建置指定之型別的通道處理站。

(繼承來源 HttpTransportBindingElement)
CanBuildChannelListener<TChannel>(BindingContext)

判斷是否可以建置指定之型別的通道接聽項。

(繼承來源 HttpTransportBindingElement)
Clone()

建立目前繫結項目的複本。

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetProperty<T>(BindingContext)

BindingContext 中取得指定的物件。

GetTransportTokenAssertion()

取得 XmlElement,表示安全性繫結中所使用的傳輸權杖。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ShouldSerializeExtendedProtectionPolicy()

傳回值,這個值指出不可能讓 XAML 序列化延伸保護原則。

(繼承來源 HttpTransportBindingElement)
ShouldSerializeMessageHandlerFactory()

判斷是否應將息處理常式 Factory 序列化。

(繼承來源 HttpTransportBindingElement)
ShouldSerializeWebSocketSettings()

判斷是否應將 Web 通訊端設定序列化。

(繼承來源 HttpTransportBindingElement)
ToString()

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

(繼承來源 Object)
UpdateAuthenticationSchemes(BindingContext)

更新包含繫結內容的傳輸驗證配置。

(繼承來源 HttpTransportBindingElement)

明確介面實作

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

匯出關於繫結的自訂原則判斷提示。

(繼承來源 HttpTransportBindingElement)
IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

將自訂的 Web 服務描述語言 (WSDL) 項目寫入為合約產生的 WSDL。

(繼承來源 HttpTransportBindingElement)
IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

將自訂的 Web 服務描述語言 (WSDL) 項目寫入為端點產生的 WSDL。

(繼承來源 HttpTransportBindingElement)

適用於