AspNetWebSocket.SubProtocol Property

.NET Framework 4.5

Gets the name of an application-specific protocol that a remote client and a server can use to exchange data over an AspNetWebSocket connection.

Namespace:  System.Web.WebSockets
Assembly:  System.Web (in System.Web.dll)

public override string SubProtocol { get; }

Property Value

Type: System.String
The name of the protocol.

ExceptionCondition
ObjectDisposedException

The object was previously disposed.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft