Επεξεργασία

Κοινή χρήση μέσω


AspNetWebSocketOptions.SubProtocol Property

Definition

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

public:
 property System::String ^ SubProtocol { System::String ^ get(); void set(System::String ^ value); };
public string SubProtocol { get; set; }
member this.SubProtocol : string with get, set
Public Property SubProtocol As String

Property Value

The name of the protocol.

Exceptions

The protocol name assigned to the property contains invalid characters.

Applies to