WebPubSubChatMessage(String, WebPubSubChatMessageContent) Constructor
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.
Initializes a new instance of WebPubSubChatMessage.
public WebPubSubChatMessage(string createdBy, Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent content);
new Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessage : string * Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessageContent -> Azure.Messaging.WebPubSub.Chat.WebPubSubChatMessage
Public Sub New (createdBy As String, content As WebPubSubChatMessageContent)
Parameters
- createdBy
- String
User who created the message.
- content
- WebPubSubChatMessageContent
Message content.
Exceptions
createdBy or content is null.