Share via


UserEventRequest.CreateResponse Método

Definição

Sobrecargas

CreateResponse(BinaryData, WebPubSubDataType)

Crie UserEventResponse.

CreateResponse(String, WebPubSubDataType)

Crie UserEventResponse.

CreateResponse(BinaryData, WebPubSubDataType)

Origem:
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

Parâmetros

data
BinaryData

Mensagem BinaryData para retornar o chamador.

Retornos

Uma resposta de mensagem para retornar o chamador.

Aplica-se a

CreateResponse(String, WebPubSubDataType)

Origem:
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

Parâmetros

data
String

Mensagem de cadeia de caracteres para retornar o chamador.

dataType
WebPubSubDataType

Mensagem WebPubSubDataType, padrão como Texto.

Retornos

Uma resposta de mensagem para retornar o chamador.

Aplica-se a