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
- 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
- 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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET