Compartir a través de


HandshakeProtocol.TryParseResponseMessage Método

Definición

Crea un nuevo HandshakeResponseMessage a partir de la representación serializada especificada.

public:
 static bool TryParseResponseMessage(System::Buffers::ReadOnlySequence<System::Byte> % buffer, [Runtime::InteropServices::Out] Microsoft::AspNetCore::SignalR::Protocol::HandshakeResponseMessage ^ % responseMessage);
public static bool TryParseResponseMessage (ref System.Buffers.ReadOnlySequence<byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage responseMessage);
public static bool TryParseResponseMessage (ref System.Buffers.ReadOnlySequence<byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage? responseMessage);
static member TryParseResponseMessage : ReadOnlySequence * HandshakeResponseMessage -> bool
Public Shared Function TryParseResponseMessage (ByRef buffer As ReadOnlySequence(Of Byte), ByRef responseMessage As HandshakeResponseMessage) As Boolean

Parámetros

buffer
ReadOnlySequence<Byte>

Representación serializada del mensaje.

responseMessage
HandshakeResponseMessage

Cuando este método vuelve, contiene el mensaje analizado.

Devoluciones

Valor que es true si se HandshakeResponseMessage ha analizado correctamente; de lo contrario, falsees .

Se aplica a