Share via


EventErrorResponse Constructors

Definition

Overloads

EventErrorResponse()

Default constructor for JsonSerialize.

EventErrorResponse(WebPubSubErrorCode, String)

Create an instance of EventErrorResponse.

EventErrorResponse()

Source:
EventErrorResponse.cs

Default constructor for JsonSerialize.

public EventErrorResponse ();
Public Sub New ()

Applies to

EventErrorResponse(WebPubSubErrorCode, String)

Source:
EventErrorResponse.cs

Create an instance of EventErrorResponse.

public EventErrorResponse (Microsoft.Azure.WebPubSub.Common.WebPubSubErrorCode code, string message = default);
new Microsoft.Azure.WebPubSub.Common.EventErrorResponse : Microsoft.Azure.WebPubSub.Common.WebPubSubErrorCode * string -> Microsoft.Azure.WebPubSub.Common.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