UserEventRequest.CreateResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateResponse(BinaryData, WebPubSubDataType) |
Create UserEventResponse. |
CreateResponse(String, WebPubSubDataType) |
Create UserEventResponse. |
CreateResponse(BinaryData, WebPubSubDataType)
- Source:
- UserEventRequest.cs
Create 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
Parameters
- data
- BinaryData
BinaryData message to return caller.
- dataType
- WebPubSubDataType
Message WebPubSubDataType.
Returns
A message response to return caller.
Applies to
CreateResponse(String, WebPubSubDataType)
- Source:
- UserEventRequest.cs
Create 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
Parameters
- data
- String
String message to return caller.
- dataType
- WebPubSubDataType
Message WebPubSubDataType, default as Text.
Returns
A message response to return caller.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應