Share via


StreamBindingFailureMessage Class

Definition

Represents a failure to bind arguments for a StreamDataMessage. This does not represent an actual message that is sent on the wire, it is returned by TryParseMessage(ReadOnlySequence<Byte>, IInvocationBinder, HubMessage) to indicate that a binding failure occurred when parsing a StreamDataMessage. The stream ID is associated so that the error can be sent to the relevant hub method.

public ref class StreamBindingFailureMessage : Microsoft::AspNetCore::SignalR::Protocol::HubMessage
public class StreamBindingFailureMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage
type StreamBindingFailureMessage = class
    inherit HubMessage
Public Class StreamBindingFailureMessage
Inherits HubMessage
Inheritance
StreamBindingFailureMessage

Constructors

StreamBindingFailureMessage(String, ExceptionDispatchInfo)

Initializes a new instance of the InvocationBindingFailureMessage class.

Properties

BindingFailure

Gets the exception thrown during binding.

Id

Gets the id of the relevant stream

Applies to