Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebSocketTransportSettings Class

.NET Framework 4.6 and 4.5

Represents settings for web socket transport.


Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel.Http (in System.ServiceModel.Http.dll)
  System.ServiceModel (in System.ServiceModel.dll)

public sealed class WebSocketTransportSettings : IEquatable<WebSocketTransportSettings>

The WebSocketTransportSettings type exposes the following members.

Public methodWebSocketTransportSettingsInitializes a new instance of the WebSocketTransportSettings class.

Public propertyCreateNotificationOnConnectionGets or sets the create notification during connection.
Public propertyDisablePayloadMaskingGets or sets a value that indicates whether the web socket masking is disabled.
Public propertyKeepAliveIntervalGets or sets the value of the keep alive interval of the connection.
Public propertyMaxPendingConnectionsGets or sets the maximum number of allowed pending connections.
Public propertySubProtocolGets or sets the web socket sub protocol.
Public propertyTransportUsageGets or sets the web socket transport usage.

Public methodEquals(Object)Determines whether the specified object is equal with the current object. (Overrides Object.Equals(Object).)
Public methodEquals(WebSocketTransportSettings)Determines whether the specified web socket transport settings object is equal with the current object.
Public methodGetHashCodeGets the hash code value for this object. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public fieldStatic memberBinaryEncoderTransferModeHeaderSpecifies the header for the binary encoder transfer mode.
Public fieldStatic memberBinaryMessageReceivedActionSpecifies the action when web socket binary message is received.
Public fieldStatic memberConnectionOpenedActionSpecifies the action when web socket connection is opened.
Public fieldStatic memberSoapContentTypeHeaderSpecifies the soap content type header.
Public fieldStatic memberTextMessageReceivedActionSpecifies the action when web socket text message is received.

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft