Dela via


EventErrorResponse Constructors

Definition

Overloads

EventErrorResponse()

Default constructor for JsonSerialize.

EventErrorResponse(WebPubSubErrorCode, String)

Create an instance of EventErrorResponse.

EventErrorResponse()

Source:
EventErrorResponse.cs
Source:
EventErrorResponse.cs

Default constructor for JsonSerialize.

public EventErrorResponse ();
Public Sub New ()

Applies to

EventErrorResponse(WebPubSubErrorCode, String)

Source:
EventErrorResponse.cs
Source:
EventErrorResponse.cs

Create an instance of EventErrorResponse.

public EventErrorResponse (Microsoft.Azure.Functions.Worker.WebPubSubErrorCode code, string message = default);
new Microsoft.Azure.Functions.Worker.EventErrorResponse : Microsoft.Azure.Functions.Worker.WebPubSubErrorCode * string -> Microsoft.Azure.Functions.Worker.EventErrorResponse
Public Sub New (code As WebPubSubErrorCode, Optional message As String = Nothing)

Parameters

code
WebPubSubErrorCode

Error code indicate error type.

message
String

Detail error message.

Applies to