HandshakeProtocol.TryParseResponseMessage Método

Definição

Cria um novo HandshakeResponseMessage com base na representação 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>

A representação serializada da mensagem.

responseMessage
HandshakeResponseMessage

Quando esse método retorna, contém a mensagem analisada.

Retornos

Um valor que será true se o HandshakeResponseMessage tiver sido analisado com êxito; caso contrário, false.

Aplica-se a