UserEventRequest.CreateResponse Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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.
- dataType
- WebPubSubDataType
Meldung WebPubSubDataType.
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:
Azure SDK for .NET