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 Microsoft.Azure.WebPubSub.Common.UserEventResponse CreateResponse (BinaryData data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType);
member this.CreateResponse : BinaryData * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebPubSub.Common.UserEventResponse
Public 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 Microsoft.Azure.WebPubSub.Common.UserEventResponse CreateResponse (string data, Microsoft.Azure.WebPubSub.Common.WebPubSubDataType dataType = Microsoft.Azure.WebPubSub.Common.WebPubSubDataType.Text);
member this.CreateResponse : string * Microsoft.Azure.WebPubSub.Common.WebPubSubDataType -> Microsoft.Azure.WebPubSub.Common.UserEventResponse
Public Function CreateResponse (data As String, Optional dataType As WebPubSubDataType = Microsoft.Azure.WebPubSub.Common.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET