Share via


UserEventResponse Constructors

Definition

Overloads

UserEventResponse()

Default constructor for JsonSerialize

UserEventResponse(BinaryData, WebPubSubDataType)

Initialize an instance of MessageResponse.

UserEventResponse(String, WebPubSubDataType)

Initialize an instance of MessageResponse.

UserEventResponse()

Source:
UserEventResponse.cs

Default constructor for JsonSerialize

public UserEventResponse ();
Public Sub New ()

Applies to

UserEventResponse(BinaryData, WebPubSubDataType)

Source:
UserEventResponse.cs

Initialize an instance of MessageResponse.

public UserEventResponse (BinaryData data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType);
new Microsoft.Azure.WebPubSub.Common.UserEventResponse : BinaryData * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebPubSub.Common.UserEventResponse
Public Sub New (data As BinaryData, dataType As WebPubSubDataType)

Parameters

data
BinaryData

BinaryData type message.

dataType
WebPubSubDataType

Message data type.

Applies to

UserEventResponse(String, WebPubSubDataType)

Source:
UserEventResponse.cs

Initialize an instance of MessageResponse.

public UserEventResponse (string data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text);
new Microsoft.Azure.WebPubSub.Common.UserEventResponse : string * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebPubSub.Common.UserEventResponse
Public Sub New (data As String, Optional dataType As WebPubSubDataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text)

Parameters

data
String

String type message.

dataType
WebPubSubDataType

Message data type. Default set to text.

Applies to