UserEventRequest Class
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.
User message event request.
public sealed class UserEventRequest : Microsoft.Azure.Functions.Worker.WebPubSubEventRequest
type UserEventRequest = class
inherit WebPubSubEventRequest
Public NotInheritable Class UserEventRequest
Inherits WebPubSubEventRequest
- Inheritance
Constructors
UserEventRequest() |
Constructor for Json serialize. |
Properties
ConnectionContext |
Connection context contains connection metadata following CloudEvents. (Inherited from WebPubSubEventRequest) |
Data |
Message content. |
DataType |
Message data type. |
Methods
CreateErrorResponse(WebPubSubErrorCode, String) |
Create EventErrorResponse. Methods works for Function Extensions. And AspNetCore SDK Hub methods can directly throw exception for error cases. |
CreateResponse(BinaryData, WebPubSubDataType) |
Create UserEventResponse. |
CreateResponse(String, WebPubSubDataType) |
Create UserEventResponse. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for