Dela via


InvocationBindingFailureMessage Class

Definition

Represents a failure to bind arguments for an invocation. 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 an invocation. The invocation ID is associated so that the error can be sent back to the client, associated with the appropriate invocation ID.

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

Constructors

InvocationBindingFailureMessage(String, String, ExceptionDispatchInfo)

Initializes a new instance of the InvocationBindingFailureMessage class.

Properties

BindingFailure

Gets the exception thrown during binding.

Headers

Gets or sets a name/value collection of headers.

(Inherited from HubInvocationMessage)
InvocationId

Gets the invocation ID.

(Inherited from HubInvocationMessage)
Target

Gets the target method name.

Applies to