語言

WebSocketTransportSettings 類別

定義

表示 Web 套接字傳輸的設定。

public ref class WebSocketTransportSettings sealed : IEquatable<System::ServiceModel::Channels::WebSocketTransportSettings ^>
public sealed class WebSocketTransportSettings : IEquatable<System.ServiceModel.Channels.WebSocketTransportSettings>
type WebSocketTransportSettings = class
    interface IEquatable<WebSocketTransportSettings>
Public NotInheritable Class WebSocketTransportSettings
Implements IEquatable(Of WebSocketTransportSettings)
繼承
WebSocketTransportSettings
實作

建構函式

名稱 Description
WebSocketTransportSettings()

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

欄位

名稱 Description
BinaryEncoderTransferModeHeader

指定二進位編碼器傳輸模式的標頭。

BinaryMessageReceivedAction

指定接收網頁套接字二進位訊息時的動作。

ConnectionOpenedAction

指定當網頁套接字連線開啟時的動作。

SoapContentTypeHeader

指定 soap 內容類型標頭。

TextMessageReceivedAction

指定接收網頁套接字文字訊息時的動作。

屬性

名稱 Description
CreateNotificationOnConnection

連線時會收到或設定建立通知。

DisablePayloadMasking

取得或設定一個值,指示網頁套接字遮蔽是否被停用。

KeepAliveInterval

取得或設定連線中保持活電區間的值。

MaxPendingConnections

取得或設定允許的最大待處理連線數量。

SubProtocol

取得或設定網頁套接字子協定。

TransportUsage

取得或設定網頁套接字傳輸的使用量。

方法

名稱 Description
Equals(Object)

判斷指定物件是否與當前物件相等。

Equals(WebSocketTransportSettings)

判斷指定的 Web Socket 傳輸設定物件是否與目前物件相等。

GetHashCode()

取得這個物件的雜湊碼值。

GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於