Freigeben über


UserEventRequest.CreateResponse Methode

Definition

Überlädt

CreateResponse(BinaryData, WebPubSubDataType)

Erstellen Sie UserEventResponse.

CreateResponse(String, WebPubSubDataType)

Erstellen Sie UserEventResponse.

CreateResponse(BinaryData, WebPubSubDataType)

Quelle:
UserEventRequest.cs
Quelle:
UserEventRequest.cs

Erstellen Sie UserEventResponse.

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

Parameter

data
BinaryData

BinaryData-Nachricht, die den Aufrufer zurückgeben soll.

Gibt zurück

Eine Nachrichtenantwort, um den Aufrufer zurückzugeben.

Gilt für:

CreateResponse(String, WebPubSubDataType)

Quelle:
UserEventRequest.cs
Quelle:
UserEventRequest.cs

Erstellen Sie UserEventResponse.

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

Parameter

data
String

Zeichenfolgenmeldung zum Zurückgeben des Aufrufers.

dataType
WebPubSubDataType

Meldung WebPubSubDataType, standard als Text.

Gibt zurück

Eine Nachrichtenantwort, um den Aufrufer zurückzugeben.

Gilt für: