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.
[System.Runtime.Serialization.DataContract]
public sealed class UserEventRequest : Microsoft.Azure.WebPubSub.Common.WebPubSubEventRequest
[<System.Runtime.Serialization.DataContract>]
type UserEventRequest = class
inherit WebPubSubEventRequest
Public NotInheritable Class UserEventRequest
Inherits WebPubSubEventRequest
- Inheritance
- Attributes
Constructors
UserEventRequest(WebPubSubConnectionContext, BinaryData, WebPubSubDataType) |
The user event request |
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
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