WebSocketTransportSettings 类

定义

表示 Web 套接字传输的设置。Represents settings for web socket transport.

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
实现

构造函数

WebSocketTransportSettings()

初始化 WebSocketTransportSettings 类的新实例。Initializes a new instance of the WebSocketTransportSettings class.

字段

BinaryEncoderTransferModeHeader

为二进制编码器 invoke 模式指定该标头。Specifies the header for the binary encoder transfer mode.

BinaryMessageReceivedAction

收到的网络套接字二进制消息时,指定操作。Specifies the action when web socket binary message is received.

ConnectionOpenedAction

打开的网络套接字连接时,指定操作。Specifies the action when web socket connection is opened.

SoapContentTypeHeader

指定简单访问对象内容的类型标头。Specifies the soap content type header.

TextMessageReceivedAction

收到的网络套接字文本消息时,指定操作。Specifies the action when web socket text message is received.

属性

CreateNotificationOnConnection

获取或设置连接期间的创建通知。Gets or sets the create notification during connection.

DisablePayloadMasking

获取或设置一个值,该值指示是否禁用网络套接屏蔽。Gets or sets a value that indicates whether the web socket masking is disabled.

KeepAliveInterval

获取或设置保持活动间隔的连接值。Gets or sets the value of the keep alive interval of the connection.

MaxPendingConnections

获取或设置最大允许挂起连接数。Gets or sets the maximum number of allowed pending connections.

ReceiveBufferSize
SendBufferSize
SubProtocol

获取或设置 Web 套接子协议。Gets or sets the web socket sub protocol.

TransportUsage

获取或设置 Web 套接传输使用情况。Gets or sets the web socket transport usage.

方法

Equals(Object)

确定指定的对象是否等同于当前的对象。Determines whether the specified object is equal with the current object.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
Equals(WebSocketTransportSettings)

确定指定的套接传输器对象与当前对象是否相等。Determines whether the specified web socket transport settings object is equal with the current object.

GetHashCode()

获取此对象的哈希代码值。Gets the hash code value for this object.

GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于