HandshakeResponseMessage(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the HandshakeResponseMessage class. An error response does need a minor version. Since the handshake has failed, any extra data will be ignored.
public:
HandshakeResponseMessage(System::String ^ error);
public HandshakeResponseMessage (string error);
public HandshakeResponseMessage (string? error);
new Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage : string -> Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage
Public Sub New (error As String)
Parameters
- error
- String
Error encountered by the server, indicating why the handshake has failed.