Export (0) Print
Expand All

WebSocketTransportSettings Class

.NET Framework 4.5

Represents settings for web socket transport.

System.Object
  System.ServiceModel.Channels.WebSocketTransportSettings

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public sealed class WebSocketTransportSettings : IEquatable<WebSocketTransportSettings>

The WebSocketTransportSettings type exposes the following members.

  NameDescription
Public methodSupported in .NET for Windows Store appsWebSocketTransportSettingsInitializes a new instance of the WebSocketTransportSettings class.
Top

  NameDescription
Public propertyCreateNotificationOnConnectionGets or sets the create notification during connection.
Public propertySupported in .NET for Windows Store appsDisablePayloadMaskingGets or sets a value that indicates whether the web socket masking is disabled.
Public propertySupported in .NET for Windows Store appsKeepAliveIntervalGets or sets the value of the keep alive interval of the connection.
Public propertyMaxPendingConnectionsGets or sets the maximum number of allowed pending connections.
Public propertySupported in .NET for Windows Store appsReceiveBufferSizeGets or sets the size of the receive buffer of the socket.
Public propertySupported in .NET for Windows Store appsSendBufferSizeGets or sets the size of the send buffer of the socket.
Public propertySupported in .NET for Windows Store appsSubProtocolGets or sets the web socket sub protocol.
Public propertySupported in .NET for Windows Store appsTransportUsageGets or sets the web socket transport usage.
Top

  NameDescription
Public methodSupported in .NET for Windows Store appsEquals(Object)Determines whether the specified object is equal with the current object. (Overrides Object.Equals(Object).)
Public methodSupported in .NET for Windows Store appsEquals(WebSocketTransportSettings)Determines whether the specified web socket transport settings object is equal with the current object.
Public methodSupported in .NET for Windows Store appsGetHashCodeGets the hash code value for this object. (Overrides Object.GetHashCode().)
Public methodSupported in .NET for Windows Store appsGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported in .NET for Windows Store appsToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberBinaryEncoderTransferModeHeaderSpecifies the header for the binary encoder transfer mode.
Public fieldStatic memberSupported in .NET for Windows Store appsBinaryMessageReceivedActionSpecifies 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 memberSupported in .NET for Windows Store appsTextMessageReceivedActionSpecifies the action when web socket text message is received.
Top

.NET Framework

Supported in: 4.5

.NET for Windows Store apps

Supported in: Windows 8

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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