Condividi tramite


UserEventRequest.CreateResponse Method

Definition

Overloads

CreateResponse(BinaryData, WebPubSubDataType)

Create UserEventResponse.

CreateResponse(String, WebPubSubDataType)

Create UserEventResponse.

CreateResponse(BinaryData, WebPubSubDataType)

Source:
UserEventRequest.cs
Source:
UserEventRequest.cs
public static Microsoft.Azure.Functions.Worker.UserEventResponse CreateResponse (BinaryData data, Microsoft.Azure.Functions.Worker.WebPubSubDataType dataType);
static member CreateResponse : BinaryData * Microsoft.Azure.Functions.Worker.WebPubSubDataType -> Microsoft.Azure.Functions.Worker.UserEventResponse
Public Shared Function CreateResponse (data As BinaryData, dataType As WebPubSubDataType) As UserEventResponse

Parameters

data
BinaryData

BinaryData message to return caller.

Returns

A message response to return caller.

Applies to

CreateResponse(String, WebPubSubDataType)

Source:
UserEventRequest.cs
Source:
UserEventRequest.cs
public static Microsoft.Azure.Functions.Worker.UserEventResponse CreateResponse (string data, Microsoft.Azure.Functions.Worker.WebPubSubDataType dataType = Microsoft.Azure.Functions.Worker.WebPubSubDataType.Text);
static member CreateResponse : string * Microsoft.Azure.Functions.Worker.WebPubSubDataType -> Microsoft.Azure.Functions.Worker.UserEventResponse
Public Shared Function CreateResponse (data As String, Optional dataType As WebPubSubDataType = Microsoft.Azure.Functions.Worker.WebPubSubDataType.Text) As UserEventResponse

Parameters

data
String

String message to return caller.

dataType
WebPubSubDataType

Message WebPubSubDataType, default as Text.

Returns

A message response to return caller.

Applies to